pub enum EthtoolFecAttr {
Header(Vec<EthtoolHeader>),
Modes(Vec<EthtoolFecMode>),
Auto(bool),
Active(EthtoolFecMode),
Stats(Vec<EthtoolFecStat>),
Other(DefaultNla),
}Variants§
Header(Vec<EthtoolHeader>)
Modes(Vec<EthtoolFecMode>)
Configured modes
Auto(bool)
FEC mode auto selection Request the driver to choose FEC mode based on SFP module parameters. This does not mean autonegotiation.
Active(EthtoolFecMode)
Active FEC mode
Stats(Vec<EthtoolFecStat>)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for EthtoolFecAttr
impl Clone for EthtoolFecAttr
Source§fn clone(&self) -> EthtoolFecAttr
fn clone(&self) -> EthtoolFecAttr
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 EthtoolFecAttr
impl Debug for EthtoolFecAttr
Source§impl Nla for EthtoolFecAttr
impl Nla for EthtoolFecAttr
Source§impl PartialEq for EthtoolFecAttr
impl PartialEq for EthtoolFecAttr
impl Eq for EthtoolFecAttr
impl StructuralPartialEq for EthtoolFecAttr
Auto Trait Implementations§
impl Freeze for EthtoolFecAttr
impl RefUnwindSafe for EthtoolFecAttr
impl Send for EthtoolFecAttr
impl Sync for EthtoolFecAttr
impl Unpin for EthtoolFecAttr
impl UnsafeUnpin for EthtoolFecAttr
impl UnwindSafe for EthtoolFecAttr
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