Enum netlink_packet_route::link::VfStats
source · #[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§
source§impl PartialEq for VfStats
impl PartialEq for VfStats
impl Eq for VfStats
impl StructuralEq for VfStats
impl StructuralPartialEq for VfStats
Auto Trait Implementations§
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