#[repr(C)]pub struct ethtool_eee {
pub cmd: u32,
pub supported: u32,
pub advertised: u32,
pub lp_advertised: u32,
pub eee_active: u32,
pub eee_enabled: u32,
pub tx_lpi_enabled: u32,
pub tx_lpi_timer: u32,
pub reserved: [u32; 2],
}
Fields§
§cmd: u32
§supported: u32
§advertised: u32
§lp_advertised: u32
§eee_active: u32
§eee_enabled: u32
§tx_lpi_enabled: u32
§tx_lpi_timer: u32
§reserved: [u32; 2]
Trait Implementations§
Source§impl Clone for ethtool_eee
impl Clone for ethtool_eee
Source§fn clone(&self) -> ethtool_eee
fn clone(&self) -> ethtool_eee
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ethtool_eee
impl Debug for ethtool_eee
Source§impl Default for ethtool_eee
impl Default for ethtool_eee
Source§impl Hash for ethtool_eee
impl Hash for ethtool_eee
Source§impl Ord for ethtool_eee
impl Ord for ethtool_eee
Source§fn cmp(&self, other: ðtool_eee) -> Ordering
fn cmp(&self, other: ðtool_eee) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ethtool_eee
impl PartialEq for ethtool_eee
Source§impl PartialOrd for ethtool_eee
impl PartialOrd for ethtool_eee
impl Copy for ethtool_eee
impl Eq for ethtool_eee
impl StructuralPartialEq for ethtool_eee
Auto Trait Implementations§
impl Freeze for ethtool_eee
impl RefUnwindSafe for ethtool_eee
impl Send for ethtool_eee
impl Sync for ethtool_eee
impl Unpin for ethtool_eee
impl UnwindSafe for ethtool_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