Struct nmstate::EthtoolCoalesceConfig
source · [−]#[non_exhaustive]pub struct EthtoolCoalesceConfig {Show 22 fields
pub adaptive_rx: Option<bool>,
pub adaptive_tx: Option<bool>,
pub pkt_rate_high: Option<u32>,
pub pkt_rate_low: Option<u32>,
pub rx_frames: Option<u32>,
pub rx_frames_high: Option<u32>,
pub rx_frames_irq: Option<u32>,
pub rx_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 sample_interval: Option<u32>,
pub stats_block_usecs: Option<u32>,
pub tx_frames: Option<u32>,
pub tx_frames_high: Option<u32>,
pub tx_frames_irq: Option<u32>,
pub tx_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>,
}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.adaptive_rx: Option<bool>adaptive_tx: Option<bool>pkt_rate_high: Option<u32>pkt_rate_low: Option<u32>rx_frames: Option<u32>rx_frames_high: Option<u32>rx_frames_irq: Option<u32>rx_frames_low: Option<u32>rx_usecs: Option<u32>rx_usecs_high: Option<u32>rx_usecs_irq: Option<u32>rx_usecs_low: Option<u32>sample_interval: Option<u32>stats_block_usecs: Option<u32>tx_frames: Option<u32>tx_frames_high: Option<u32>tx_frames_irq: Option<u32>tx_frames_low: Option<u32>tx_usecs: Option<u32>tx_usecs_high: Option<u32>tx_usecs_irq: Option<u32>tx_usecs_low: Option<u32>Implementations
Trait Implementations
sourceimpl Clone for EthtoolCoalesceConfig
impl Clone for EthtoolCoalesceConfig
sourcefn clone(&self) -> EthtoolCoalesceConfig
fn clone(&self) -> EthtoolCoalesceConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EthtoolCoalesceConfig
impl Debug for EthtoolCoalesceConfig
sourceimpl Default for EthtoolCoalesceConfig
impl Default for EthtoolCoalesceConfig
sourcefn default() -> EthtoolCoalesceConfig
fn default() -> EthtoolCoalesceConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EthtoolCoalesceConfig
impl<'de> Deserialize<'de> for EthtoolCoalesceConfig
sourcefn 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
sourceimpl PartialEq<EthtoolCoalesceConfig> for EthtoolCoalesceConfig
impl PartialEq<EthtoolCoalesceConfig> for EthtoolCoalesceConfig
sourcefn eq(&self, other: &EthtoolCoalesceConfig) -> bool
fn eq(&self, other: &EthtoolCoalesceConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EthtoolCoalesceConfig) -> bool
fn ne(&self, other: &EthtoolCoalesceConfig) -> bool
This method tests for !=.
sourceimpl Serialize for EthtoolCoalesceConfig
impl Serialize for EthtoolCoalesceConfig
impl Copy for EthtoolCoalesceConfig
impl Eq for EthtoolCoalesceConfig
impl StructuralEq for EthtoolCoalesceConfig
impl StructuralPartialEq for EthtoolCoalesceConfig
Auto Trait Implementations
impl RefUnwindSafe for EthtoolCoalesceConfig
impl Send for EthtoolCoalesceConfig
impl Sync for EthtoolCoalesceConfig
impl Unpin for EthtoolCoalesceConfig
impl UnwindSafe for EthtoolCoalesceConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> NoneValue for T where
T: Default,
impl<T> NoneValue for T where
T: Default,
type NoneType = T
sourcefn null_value() -> T
fn null_value() -> T
The none-equivalent value.