Struct nispor::EthtoolCoalesceInfo
source · #[non_exhaustive]pub struct EthtoolCoalesceInfo {Show 22 fields
pub pkt_rate_high: Option<u32>,
pub pkt_rate_low: Option<u32>,
pub rate_sample_interval: Option<u32>,
pub rx_max_frames: Option<u32>,
pub rx_max_frames_high: Option<u32>,
pub rx_max_frames_irq: Option<u32>,
pub rx_max_frames_low: Option<u32>,
pub rx_usecs: Option<u32>,
pub rx_usecs_high: Option<u32>,
pub rx_usecs_irq: Option<u32>,
pub rx_usecs_low: Option<u32>,
pub stats_block_usecs: Option<u32>,
pub tx_max_frames: Option<u32>,
pub tx_max_frames_high: Option<u32>,
pub tx_max_frames_irq: Option<u32>,
pub tx_max_frames_low: Option<u32>,
pub tx_usecs: Option<u32>,
pub tx_usecs_high: Option<u32>,
pub tx_usecs_irq: Option<u32>,
pub tx_usecs_low: Option<u32>,
pub use_adaptive_rx: Option<bool>,
pub use_adaptive_tx: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pkt_rate_high: Option<u32>
§pkt_rate_low: Option<u32>
§rate_sample_interval: Option<u32>
§rx_max_frames: Option<u32>
§rx_max_frames_high: Option<u32>
§rx_max_frames_irq: Option<u32>
§rx_max_frames_low: Option<u32>
§rx_usecs: Option<u32>
§rx_usecs_high: Option<u32>
§rx_usecs_irq: Option<u32>
§rx_usecs_low: Option<u32>
§stats_block_usecs: Option<u32>
§tx_max_frames: Option<u32>
§tx_max_frames_high: Option<u32>
§tx_max_frames_irq: Option<u32>
§tx_max_frames_low: Option<u32>
§tx_usecs: Option<u32>
§tx_usecs_high: Option<u32>
§tx_usecs_irq: Option<u32>
§tx_usecs_low: Option<u32>
§use_adaptive_rx: Option<bool>
§use_adaptive_tx: Option<bool>
Trait Implementations§
source§impl Clone for EthtoolCoalesceInfo
impl Clone for EthtoolCoalesceInfo
source§fn clone(&self) -> EthtoolCoalesceInfo
fn clone(&self) -> EthtoolCoalesceInfo
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 EthtoolCoalesceInfo
impl Debug for EthtoolCoalesceInfo
source§impl Default for EthtoolCoalesceInfo
impl Default for EthtoolCoalesceInfo
source§fn default() -> EthtoolCoalesceInfo
fn default() -> EthtoolCoalesceInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EthtoolCoalesceInfo
impl<'de> Deserialize<'de> for EthtoolCoalesceInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EthtoolCoalesceInfo
impl PartialEq for EthtoolCoalesceInfo
source§fn eq(&self, other: &EthtoolCoalesceInfo) -> bool
fn eq(&self, other: &EthtoolCoalesceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EthtoolCoalesceInfo
impl Serialize for EthtoolCoalesceInfo
impl Eq for EthtoolCoalesceInfo
impl StructuralPartialEq for EthtoolCoalesceInfo
Auto Trait Implementations§
impl Freeze for EthtoolCoalesceInfo
impl RefUnwindSafe for EthtoolCoalesceInfo
impl Send for EthtoolCoalesceInfo
impl Sync for EthtoolCoalesceInfo
impl Unpin for EthtoolCoalesceInfo
impl UnwindSafe for EthtoolCoalesceInfo
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