pub struct FlowStats {
pub table_id: u8,
pub priority: u16,
pub cookie: u64,
pub match_fields: Match,
pub actions: ActionList,
pub idle_timeout: u16,
pub hard_timeout: u16,
pub packet_count: u64,
pub byte_count: u64,
}Expand description
Flow statistics read from the switch.
Fields§
§table_id: u8Table ID
priority: u16Priority (higher = more specific)
Cookie (opaque identifier)
match_fields: MatchMatch fields
actions: ActionListActions to apply
idle_timeout: u16Idle timeout (seconds, 0 = no timeout)
hard_timeout: u16Hard timeout (seconds, 0 = no timeout)
packet_count: u64Packet count
byte_count: u64Byte count
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