pub struct EthtoolRingHandle(/* private fields */);Implementations§
Source§impl EthtoolRingHandle
impl EthtoolRingHandle
pub fn new(handle: EthtoolHandle) -> Self
Sourcepub fn get(&mut self, iface_name: Option<&str>) -> EthtoolRingGetRequest
pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolRingGetRequest
Retrieve the ethtool rings of a interface (equivalent to ethtool -g eth1)
Auto Trait Implementations§
impl Freeze for EthtoolRingHandle
impl !RefUnwindSafe for EthtoolRingHandle
impl Send for EthtoolRingHandle
impl Sync for EthtoolRingHandle
impl Unpin for EthtoolRingHandle
impl UnsafeUnpin for EthtoolRingHandle
impl !UnwindSafe for EthtoolRingHandle
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