pub enum EthtoolFecMode {
None,
Rs,
Baser,
Llrs,
Other(u32, String),
}Variants§
None
Rs
Baser
Llrs
Other(u32, String)
Index and name of FEC mode, only the index matters when setting.
Trait Implementations§
Source§impl Clone for EthtoolFecMode
impl Clone for EthtoolFecMode
Source§fn clone(&self) -> EthtoolFecMode
fn clone(&self) -> EthtoolFecMode
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 EthtoolFecMode
impl Debug for EthtoolFecMode
Source§impl Default for EthtoolFecMode
impl Default for EthtoolFecMode
Source§fn default() -> EthtoolFecMode
fn default() -> EthtoolFecMode
Returns the “default value” for a type. Read more
Source§impl Display for EthtoolFecMode
impl Display for EthtoolFecMode
Source§impl From<EthtoolFecMode> for u32
impl From<EthtoolFecMode> for u32
Source§fn from(v: EthtoolFecMode) -> u32
fn from(v: EthtoolFecMode) -> u32
Converts to this type from the input type.
Source§impl From<u32> for EthtoolFecMode
impl From<u32> for EthtoolFecMode
Source§impl PartialEq for EthtoolFecMode
impl PartialEq for EthtoolFecMode
impl Eq for EthtoolFecMode
impl StructuralPartialEq for EthtoolFecMode
Auto Trait Implementations§
impl Freeze for EthtoolFecMode
impl RefUnwindSafe for EthtoolFecMode
impl Send for EthtoolFecMode
impl Sync for EthtoolFecMode
impl Unpin for EthtoolFecMode
impl UnsafeUnpin for EthtoolFecMode
impl UnwindSafe for EthtoolFecMode
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