pub struct PushPause<Prev: Pusher> { /* private fields */ }Available on crate feature
ethtool only.Implementations§
Source§impl<Prev: Pusher> PushPause<Prev>
impl<Prev: Pusher> PushPause<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn nested_header(self) -> PushHeader<Self>
pub fn push_autoneg(self, value: u8) -> Self
pub fn push_rx(self, value: u8) -> Self
pub fn push_tx(self, value: u8) -> Self
pub fn nested_stats(self) -> PushPauseStat<Self>
pub fn push_stats_src(self, value: u32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<Prev> Freeze for PushPause<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushPause<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushPause<Prev>where
Prev: Send,
impl<Prev> Sync for PushPause<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushPause<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushPause<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushPause<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