pub struct InputQueueStatsSnapshot {Show 13 fields
pub node_name: String,
pub port_name: String,
pub producer_name: Option<String>,
pub packet_capacity: Option<usize>,
pub queued_packets: usize,
pub queued_bytes: u64,
pub reserved_packets: usize,
pub peak_queued_packets: usize,
pub peak_queued_bytes: u64,
pub blocked: bool,
pub blocked_for_us: u64,
pub block_events: u64,
pub total_blocked_us: u64,
}Expand description
节点单个输入口的队列与背压统计快照。
Fields§
§node_name: String§port_name: String§producer_name: Option<String>§packet_capacity: Option<usize>§queued_packets: usize§queued_bytes: u64§reserved_packets: usize§peak_queued_packets: usize§peak_queued_bytes: u64§blocked: bool§blocked_for_us: u64§block_events: u64§total_blocked_us: u64Trait Implementations§
Source§impl Clone for InputQueueStatsSnapshot
impl Clone for InputQueueStatsSnapshot
Source§fn clone(&self) -> InputQueueStatsSnapshot
fn clone(&self) -> InputQueueStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputQueueStatsSnapshot
impl RefUnwindSafe for InputQueueStatsSnapshot
impl Send for InputQueueStatsSnapshot
impl Sync for InputQueueStatsSnapshot
impl Unpin for InputQueueStatsSnapshot
impl UnsafeUnpin for InputQueueStatsSnapshot
impl UnwindSafe for InputQueueStatsSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more