pub struct PushDlAttrStats<Prev: Rec> { /* private fields */ }Available on crate feature
devlink only.Implementations§
Source§impl<Prev: Rec> PushDlAttrStats<Prev>
impl<Prev: Rec> PushDlAttrStats<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_stats_rx_packets(self, value: u64) -> Self
pub fn push_stats_rx_bytes(self, value: u64) -> Self
pub fn push_stats_rx_dropped(self, value: u64) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushDlAttrStats<Prev>
impl<Prev: Rec> Drop for PushDlAttrStats<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushDlAttrStats<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushDlAttrStats<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushDlAttrStats<Prev>where
Prev: Send,
impl<Prev> Sync for PushDlAttrStats<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushDlAttrStats<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushDlAttrStats<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushDlAttrStats<Prev>where
Prev: UnwindSafe,
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