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