pub enum EthtoolLinkModeAttr {
Header(Vec<EthtoolHeader>),
Autoneg(bool),
Ours(Vec<String>),
Peer(Vec<String>),
Speed(u32),
Duplex(EthtoolLinkModeDuplex),
ControllerSubordinateCfg(u8),
ControllerSubordinateState(u8),
Lanes(u32),
Other(DefaultNla),
}Variants§
Header(Vec<EthtoolHeader>)
Autoneg(bool)
Ours(Vec<String>)
Peer(Vec<String>)
Speed(u32)
Duplex(EthtoolLinkModeDuplex)
ControllerSubordinateCfg(u8)
ControllerSubordinateState(u8)
Lanes(u32)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for EthtoolLinkModeAttr
impl Clone for EthtoolLinkModeAttr
Source§fn clone(&self) -> EthtoolLinkModeAttr
fn clone(&self) -> EthtoolLinkModeAttr
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 moreSource§impl Debug for EthtoolLinkModeAttr
impl Debug for EthtoolLinkModeAttr
Source§impl Nla for EthtoolLinkModeAttr
impl Nla for EthtoolLinkModeAttr
Source§impl PartialEq for EthtoolLinkModeAttr
impl PartialEq for EthtoolLinkModeAttr
impl Eq for EthtoolLinkModeAttr
impl StructuralPartialEq for EthtoolLinkModeAttr
Auto Trait Implementations§
impl Freeze for EthtoolLinkModeAttr
impl RefUnwindSafe for EthtoolLinkModeAttr
impl Send for EthtoolLinkModeAttr
impl Sync for EthtoolLinkModeAttr
impl Unpin for EthtoolLinkModeAttr
impl UnsafeUnpin for EthtoolLinkModeAttr
impl UnwindSafe for EthtoolLinkModeAttr
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