pub enum IrqModeration {
Usec(u32),
Pkts(u32),
Comps(u32),
}Available on crate feature
ethtool only.Variants§
Implementations§
Source§impl IrqModeration
impl IrqModeration
pub fn new<'a>(buf: &'a [u8]) -> IterableIrqModeration<'a> ⓘ
Trait Implementations§
Source§impl Clone for IrqModeration
impl Clone for IrqModeration
Source§fn clone(&self) -> IrqModeration
fn clone(&self) -> IrqModeration
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 IrqModeration
impl RefUnwindSafe for IrqModeration
impl Send for IrqModeration
impl Sync for IrqModeration
impl Unpin for IrqModeration
impl UnsafeUnpin for IrqModeration
impl UnwindSafe for IrqModeration
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