Struct below_ethtool::EthtoolReader
source · 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>
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