pub struct PushLinkmodes<Prev: Rec> { /* private fields */ }Available on crate feature
ethtool only.Implementations§
Source§impl<Prev: Rec> PushLinkmodes<Prev>
impl<Prev: Rec> PushLinkmodes<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 nested_ours(self) -> PushBitset<Self>
pub fn nested_peer(self) -> PushBitset<Self>
pub fn push_speed(self, value: u32) -> Self
pub fn push_duplex(self, value: u8) -> Self
pub fn push_master_slave_cfg(self, value: u8) -> Self
pub fn push_master_slave_state(self, value: u8) -> Self
pub fn push_lanes(self, value: u32) -> Self
pub fn push_rate_matching(self, value: u8) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushLinkmodes<Prev>
impl<Prev: Rec> Drop for PushLinkmodes<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushLinkmodes<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushLinkmodes<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushLinkmodes<Prev>where
Prev: Send,
impl<Prev> Sync for PushLinkmodes<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushLinkmodes<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushLinkmodes<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushLinkmodes<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