#[repr(C)]pub struct ethtool_ringparam {
pub cmd: u32,
pub rx_max_pending: u32,
pub rx_mini_max_pending: u32,
pub rx_jumbo_max_pending: u32,
pub tx_max_pending: u32,
pub rx_pending: u32,
pub rx_mini_pending: u32,
pub rx_jumbo_pending: u32,
pub tx_pending: u32,
}
Fields§
§cmd: u32
§rx_max_pending: u32
§rx_mini_max_pending: u32
§rx_jumbo_max_pending: u32
§tx_max_pending: u32
§rx_pending: u32
§rx_mini_pending: u32
§rx_jumbo_pending: u32
§tx_pending: u32
Trait Implementations§
Source§impl Clone for ethtool_ringparam
impl Clone for ethtool_ringparam
Source§fn clone(&self) -> ethtool_ringparam
fn clone(&self) -> ethtool_ringparam
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_ringparam
impl Debug for ethtool_ringparam
Source§impl Default for ethtool_ringparam
impl Default for ethtool_ringparam
Source§impl Hash for ethtool_ringparam
impl Hash for ethtool_ringparam
Source§impl Ord for ethtool_ringparam
impl Ord for ethtool_ringparam
Source§fn cmp(&self, other: ðtool_ringparam) -> Ordering
fn cmp(&self, other: ðtool_ringparam) -> 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_ringparam
impl PartialEq for ethtool_ringparam
Source§impl PartialOrd for ethtool_ringparam
impl PartialOrd for ethtool_ringparam
impl Copy for ethtool_ringparam
impl Eq for ethtool_ringparam
impl StructuralPartialEq for ethtool_ringparam
Auto Trait Implementations§
impl Freeze for ethtool_ringparam
impl RefUnwindSafe for ethtool_ringparam
impl Send for ethtool_ringparam
impl Sync for ethtool_ringparam
impl Unpin for ethtool_ringparam
impl UnwindSafe for ethtool_ringparam
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