pub enum FecHist<'a> {
Pad(&'a [u8]),
BinLow(u32),
BinHigh(u32),
BinVal(u32),
BinValPerLane(&'a [u8]),
}Available on crate feature
ethtool only.Variants§
Pad(&'a [u8])
BinLow(u32)
Low bound of FEC bin (inclusive)
BinHigh(u32)
High bound of FEC bin (inclusive)
BinVal(u32)
Error count in the bin (optional if per-lane values exist)
BinValPerLane(&'a [u8])
An array of per-lane error counters in the bin (optional)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FecHist<'a>
impl<'a> RefUnwindSafe for FecHist<'a>
impl<'a> Send for FecHist<'a>
impl<'a> Sync for FecHist<'a>
impl<'a> Unpin for FecHist<'a>
impl<'a> UnsafeUnpin for FecHist<'a>
impl<'a> UnwindSafe for FecHist<'a>
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