pub struct Eee {
pub supported: u32,
pub advertised: u32,
pub lp_advertised: u32,
pub active: bool,
pub enabled: bool,
pub tx_lpi_enabled: bool,
pub tx_lpi_timer: u32,
}Expand description
Energy Efficient Ethernet (struct ethtool_eee, ethtool --show-eee). Link modes are the
legacy SUPPORTED_*/ADVERTISED_* bits.
Fields§
§supported: u32supported: the link modes EEE can run at.
advertised: u32advertised.
lp_advertised: u32lp_advertised: what the link partner advertises.
active: booleee_active: negotiated and in use. Reported as eee_enabled with the link up and a
mode both ends advertise; the value given here is ignored.
enabled: booleee_enabled.
tx_lpi_enabled: booltx_lpi_enabled: whether the transmitter may enter low-power idle.
tx_lpi_timer: u32tx_lpi_timer, in µs.
Trait Implementations§
impl Copy for Eee
impl Eq for Eee
impl StructuralPartialEq for Eee
Auto Trait Implementations§
impl Forget for Eee
impl Freeze for Eee
impl RefUnwindSafe for Eee
impl Send for Eee
impl Sync for Eee
impl Unpin for Eee
impl UnsafeUnpin for Eee
impl UnwindSafe for Eee
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