pub struct TapStats {
pub rx_packets: Option<u64>,
pub tx_packets: Option<u64>,
pub rx_bytes: Option<u64>,
pub tx_bytes: Option<u64>,
pub rx_errors: Option<u64>,
pub tx_errors: Option<u64>,
pub rx_dropped: Option<u64>,
pub tx_dropped: Option<u64>,
}Expand description
Per-TAP statistics row for observability_host_tap_data_v1.
Fields§
§rx_packets: Option<u64>§tx_packets: Option<u64>§rx_bytes: Option<u64>§tx_bytes: Option<u64>§rx_errors: Option<u64>§tx_errors: Option<u64>§rx_dropped: Option<u64>§tx_dropped: Option<u64>Trait Implementations§
impl Copy for TapStats
Auto Trait Implementations§
impl Freeze for TapStats
impl RefUnwindSafe for TapStats
impl Send for TapStats
impl Sync for TapStats
impl Unpin for TapStats
impl UnsafeUnpin for TapStats
impl UnwindSafe for TapStats
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