pub struct NodeStatsSnapshot {
pub node_name: String,
pub kernel_name: String,
pub running: bool,
pub running_for_us: i64,
pub processed: u64,
pub errors: u64,
pub total_process_us: i64,
pub max_process_us: i64,
pub packets_in: u64,
pub packets_out: u64,
pub peak_queue_depth: usize,
pub queued: usize,
}Expand description
LMFlowNodeStats 的 Rust 侧快照。
Fields§
§node_name: String§kernel_name: String§running: bool§running_for_us: i64§processed: u64§errors: u64§total_process_us: i64§max_process_us: i64§packets_in: u64从输入口取走的包数
packets_out: u64产出并派发下游的包数
peak_queue_depth: usize下游入队时观察到的队列深度峰值(高水位)
queued: usizeTrait Implementations§
Source§impl Clone for NodeStatsSnapshot
impl Clone for NodeStatsSnapshot
Source§fn clone(&self) -> NodeStatsSnapshot
fn clone(&self) -> NodeStatsSnapshot
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 NodeStatsSnapshot
impl RefUnwindSafe for NodeStatsSnapshot
impl Send for NodeStatsSnapshot
impl Sync for NodeStatsSnapshot
impl Unpin for NodeStatsSnapshot
impl UnsafeUnpin for NodeStatsSnapshot
impl UnwindSafe for NodeStatsSnapshot
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