#[non_exhaustive]pub struct VfState {
pub rx_packets: u64,
pub tx_packets: u64,
pub rx_bytes: u64,
pub tx_bytes: u64,
pub broadcast: u64,
pub multicast: u64,
pub rx_dropped: u64,
pub tx_dropped: u64,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rx_packets: u64
§tx_packets: u64
§rx_bytes: u64
§tx_bytes: u64
§broadcast: u64
§multicast: u64
§rx_dropped: u64
§tx_dropped: u64
Trait Implementations§
source§impl<'de> Deserialize<'de> for VfState
impl<'de> Deserialize<'de> for VfState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for VfState
impl PartialEq for VfState
impl Eq for VfState
impl StructuralPartialEq for VfState
Auto Trait Implementations§
impl Freeze for VfState
impl RefUnwindSafe for VfState
impl Send for VfState
impl Sync for VfState
impl Unpin for VfState
impl UnwindSafe for VfState
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