pub enum DlAttrStats {
StatsRxPackets(u64),
StatsRxBytes(u64),
StatsRxDropped(u64),
}Available on crate feature
devlink only.Variants§
Implementations§
Source§impl DlAttrStats
impl DlAttrStats
pub fn new<'a>(buf: &'a [u8]) -> IterableDlAttrStats<'a> ⓘ
Trait Implementations§
Source§impl Clone for DlAttrStats
impl Clone for DlAttrStats
Source§fn clone(&self) -> DlAttrStats
fn clone(&self) -> DlAttrStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DlAttrStats
impl RefUnwindSafe for DlAttrStats
impl Send for DlAttrStats
impl Sync for DlAttrStats
impl Unpin for DlAttrStats
impl UnsafeUnpin for DlAttrStats
impl UnwindSafe for DlAttrStats
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