#[repr(C)]pub struct ethtool_channels {
pub cmd: u32,
pub max_rx: u32,
pub max_tx: u32,
pub max_other: u32,
pub max_combined: u32,
pub rx_count: u32,
pub tx_count: u32,
pub other_count: u32,
pub combined_count: u32,
}
Fields§
§cmd: u32
§max_rx: u32
§max_tx: u32
§max_other: u32
§max_combined: u32
§rx_count: u32
§tx_count: u32
§other_count: u32
§combined_count: u32
Trait Implementations§
Source§impl Clone for ethtool_channels
impl Clone for ethtool_channels
Source§fn clone(&self) -> ethtool_channels
fn clone(&self) -> ethtool_channels
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_channels
impl Debug for ethtool_channels
Source§impl Default for ethtool_channels
impl Default for ethtool_channels
Source§impl Hash for ethtool_channels
impl Hash for ethtool_channels
Source§impl Ord for ethtool_channels
impl Ord for ethtool_channels
Source§fn cmp(&self, other: ðtool_channels) -> Ordering
fn cmp(&self, other: ðtool_channels) -> 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_channels
impl PartialEq for ethtool_channels
Source§impl PartialOrd for ethtool_channels
impl PartialOrd for ethtool_channels
impl Copy for ethtool_channels
impl Eq for ethtool_channels
impl StructuralPartialEq for ethtool_channels
Auto Trait Implementations§
impl Freeze for ethtool_channels
impl RefUnwindSafe for ethtool_channels
impl Send for ethtool_channels
impl Sync for ethtool_channels
impl Unpin for ethtool_channels
impl UnwindSafe for ethtool_channels
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