#[repr(u32)]#[non_exhaustive]pub enum tcp_fastopen_client_fail {
TFO_STATUS_UNSPEC,
TFO_COOKIE_UNAVAILABLE,
TFO_DATA_NOT_ACKED,
TFO_SYN_RETRANSMITTED,
}
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_fastopen_client_fail
impl Clone for tcp_fastopen_client_fail
source§fn clone(&self) -> tcp_fastopen_client_fail
fn clone(&self) -> tcp_fastopen_client_fail
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_fastopen_client_fail
impl Debug for tcp_fastopen_client_fail
source§impl Hash for tcp_fastopen_client_fail
impl Hash for tcp_fastopen_client_fail
source§impl PartialEq<tcp_fastopen_client_fail> for tcp_fastopen_client_fail
impl PartialEq<tcp_fastopen_client_fail> for tcp_fastopen_client_fail
source§fn eq(&self, other: &tcp_fastopen_client_fail) -> bool
fn eq(&self, other: &tcp_fastopen_client_fail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for tcp_fastopen_client_fail
impl Eq for tcp_fastopen_client_fail
impl StructuralEq for tcp_fastopen_client_fail
impl StructuralPartialEq for tcp_fastopen_client_fail
Auto Trait Implementations§
impl RefUnwindSafe for tcp_fastopen_client_fail
impl Send for tcp_fastopen_client_fail
impl Sync for tcp_fastopen_client_fail
impl Unpin for tcp_fastopen_client_fail
impl UnwindSafe for tcp_fastopen_client_fail
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