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