Enum linux_raw_sys::general::tcp_ca_state
source · #[repr(u32)]
#[non_exhaustive]
pub enum tcp_ca_state {
TCP_CA_Open,
TCP_CA_Disorder,
TCP_CA_CWR,
TCP_CA_Recovery,
TCP_CA_Loss,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for tcp_ca_state
impl Clone for tcp_ca_state
source§fn clone(&self) -> tcp_ca_state
fn clone(&self) -> tcp_ca_state
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 tcp_ca_state
impl Debug for tcp_ca_state
source§impl Hash for tcp_ca_state
impl Hash for tcp_ca_state
source§impl PartialEq<tcp_ca_state> for tcp_ca_state
impl PartialEq<tcp_ca_state> for tcp_ca_state
source§fn eq(&self, other: &tcp_ca_state) -> bool
fn eq(&self, other: &tcp_ca_state) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.