pub struct FlowStats {
pub key: FlowKey,
pub flow_id: u64,
pub packets: u64,
pub bytes: u64,
}Expand description
Per-flow statistics entry.
Fields§
§key: FlowKey5-tuple key for this flow.
flow_id: u64Deterministic flow ID (bidirectional xxh3-style hash).
packets: u64Number of packets in this flow.
bytes: u64Total bytes (captured length) in this flow.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlowStats
impl RefUnwindSafe for FlowStats
impl Send for FlowStats
impl Sync for FlowStats
impl Unpin for FlowStats
impl UnsafeUnpin for FlowStats
impl UnwindSafe for FlowStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more