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.
TCP_CA_Open
TCP_CA_Disorder
TCP_CA_CWR
TCP_CA_Recovery
TCP_CA_Loss
Trait Implementations
sourceimpl Clone for tcp_ca_state
impl Clone for tcp_ca_state
sourcefn clone(&self) -> tcp_ca_state
fn clone(&self) -> tcp_ca_state
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 tcp_ca_state
impl Debug for tcp_ca_state
sourceimpl Hash for tcp_ca_state
impl Hash for tcp_ca_state
sourceimpl PartialEq<tcp_ca_state> for tcp_ca_state
impl PartialEq<tcp_ca_state> for tcp_ca_state
impl Copy for tcp_ca_state
impl Eq for tcp_ca_state
impl StructuralEq for tcp_ca_state
impl StructuralPartialEq for tcp_ca_state
Auto Trait Implementations
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
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