Enum linux_raw_sys::net::tcp_ca_state
source · #[non_exhaustive]#[repr(u32)]pub enum tcp_ca_state {
TCP_CA_Open = 0,
TCP_CA_Disorder = 1,
TCP_CA_CWR = 2,
TCP_CA_Recovery = 3,
TCP_CA_Loss = 4,
}
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 for tcp_ca_state
impl PartialEq for tcp_ca_state
impl Copy for tcp_ca_state
impl Eq for tcp_ca_state
impl StructuralPartialEq for tcp_ca_state
Auto Trait Implementations§
impl Freeze for tcp_ca_state
impl RefUnwindSafe for tcp_ca_state
impl Send for tcp_ca_state
impl Sync for tcp_ca_state
impl Unpin for tcp_ca_state
impl UnwindSafe for tcp_ca_state
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)