#[non_exhaustive]pub enum VfStats {
RxPackets(u64),
TxPackets(u64),
RxBytes(u64),
TxBytes(u64),
Broadcast(u64),
Multicast(u64),
RxDropped(u64),
TxDropped(u64),
Other(DefaultNla),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RxPackets(u64)
TxPackets(u64)
RxBytes(u64)
TxBytes(u64)
Broadcast(u64)
Multicast(u64)
RxDropped(u64)
TxDropped(u64)
Other(DefaultNla)
Trait Implementations§
impl Eq for VfStats
impl StructuralPartialEq for VfStats
Auto Trait Implementations§
impl Freeze for VfStats
impl RefUnwindSafe for VfStats
impl Send for VfStats
impl Sync for VfStats
impl Unpin for VfStats
impl UnwindSafe for VfStats
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)