pub enum Phy<'a> {
Header(IterableHeader<'a>),
Index(u32),
Drvname(&'a CStr),
Name(&'a CStr),
UpstreamType(u32),
UpstreamIndex(u32),
UpstreamSfpName(&'a CStr),
DownstreamSfpName(&'a CStr),
}Available on crate feature
ethtool only.Variants§
Header(IterableHeader<'a>)
Index(u32)
Drvname(&'a CStr)
Name(&'a CStr)
UpstreamType(u32)
Associated type: PhyUpstreamType (enum)
UpstreamIndex(u32)
UpstreamSfpName(&'a CStr)
DownstreamSfpName(&'a CStr)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Phy<'a>
impl<'a> RefUnwindSafe for Phy<'a>
impl<'a> Send for Phy<'a>
impl<'a> Sync for Phy<'a>
impl<'a> Unpin for Phy<'a>
impl<'a> UnsafeUnpin for Phy<'a>
impl<'a> UnwindSafe for Phy<'a>
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