pub struct EthtoolLinkModeHandle(/* private fields */);Implementations§
Source§impl EthtoolLinkModeHandle
impl EthtoolLinkModeHandle
pub fn new(handle: EthtoolHandle) -> Self
Sourcepub fn get(&mut self, iface_name: Option<&str>) -> EthtoolLinkModeGetRequest
pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolLinkModeGetRequest
Retrieve the ethtool link_modes(duplex, link speed and etc) of a interface
Auto Trait Implementations§
impl Freeze for EthtoolLinkModeHandle
impl !RefUnwindSafe for EthtoolLinkModeHandle
impl Send for EthtoolLinkModeHandle
impl Sync for EthtoolLinkModeHandle
impl Unpin for EthtoolLinkModeHandle
impl UnsafeUnpin for EthtoolLinkModeHandle
impl !UnwindSafe for EthtoolLinkModeHandle
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