pub enum CableTestTdrCfg {
First(u32),
Last(u32),
Step(u32),
Pair(u8),
}Available on crate feature
ethtool only.Variants§
Implementations§
Source§impl CableTestTdrCfg
impl CableTestTdrCfg
pub fn new<'a>(buf: &'a [u8]) -> IterableCableTestTdrCfg<'a> ⓘ
Trait Implementations§
Source§impl Clone for CableTestTdrCfg
impl Clone for CableTestTdrCfg
Source§fn clone(&self) -> CableTestTdrCfg
fn clone(&self) -> CableTestTdrCfg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CableTestTdrCfg
impl RefUnwindSafe for CableTestTdrCfg
impl Send for CableTestTdrCfg
impl Sync for CableTestTdrCfg
impl Unpin for CableTestTdrCfg
impl UnsafeUnpin for CableTestTdrCfg
impl UnwindSafe for CableTestTdrCfg
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