#[repr(u16)]pub enum VfStats {
RxPackets = 0,
TxPackets = 1,
RxBytes = 2,
TxBytes = 3,
Broadcast = 4,
Multicast = 5,
Pad = 6,
RxDropped = 7,
TxDropped = 8,
_MAX = 9,
}
Variants§
RxPackets = 0
TxPackets = 1
RxBytes = 2
TxBytes = 3
Broadcast = 4
Multicast = 5
Pad = 6
RxDropped = 7
TxDropped = 8
_MAX = 9
Trait Implementations§
Source§impl<'a> Index<VfStats> for VfStatsTbl<'a>
impl<'a> Index<VfStats> for VfStatsTbl<'a>
Source§impl<'a> IndexMut<VfStats> for VfStatsTbl<'a>
impl<'a> IndexMut<VfStats> for VfStatsTbl<'a>
impl Copy for VfStats
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