pub struct EthtoolReader;Implementations§
Source§impl EthtoolReader
impl EthtoolReader
pub fn new() -> Self
Sourcepub fn read_interfaces(&self) -> Result<HashSet<String>>
pub fn read_interfaces(&self) -> Result<HashSet<String>>
Read the list of interface names.
pub fn read_stats<T: EthtoolReadable>(&self) -> Result<EthtoolStats>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EthtoolReader
impl RefUnwindSafe for EthtoolReader
impl Send for EthtoolReader
impl Sync for EthtoolReader
impl Unpin for EthtoolReader
impl UnwindSafe for EthtoolReader
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