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