#[repr(transparent)]pub struct Tcp4ConnectionState(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl Tcp4ConnectionState
impl Tcp4ConnectionState
pub const CLOSED: Tcp4ConnectionState
pub const LISTEN: Tcp4ConnectionState
pub const SYN_SENT: Tcp4ConnectionState
pub const SYN_RECEIVED: Tcp4ConnectionState
pub const ESTABLISHED: Tcp4ConnectionState
pub const FIN_WAIT1: Tcp4ConnectionState
pub const FIN_WAIT2: Tcp4ConnectionState
pub const CLOSING: Tcp4ConnectionState
pub const TIME_WAIT: Tcp4ConnectionState
pub const CLOSE_WAIT: Tcp4ConnectionState
pub const LAST_ACK: Tcp4ConnectionState
Trait Implementations§
Source§impl Clone for Tcp4ConnectionState
impl Clone for Tcp4ConnectionState
Source§fn clone(&self) -> Tcp4ConnectionState
fn clone(&self) -> Tcp4ConnectionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Tcp4ConnectionState
Source§impl Debug for Tcp4ConnectionState
impl Debug for Tcp4ConnectionState
impl Eq for Tcp4ConnectionState
Source§impl Hash for Tcp4ConnectionState
impl Hash for Tcp4ConnectionState
Source§impl Ord for Tcp4ConnectionState
impl Ord for Tcp4ConnectionState
Source§fn cmp(&self, other: &Tcp4ConnectionState) -> Ordering
fn cmp(&self, other: &Tcp4ConnectionState) -> Ordering
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Tcp4ConnectionState
impl PartialEq for Tcp4ConnectionState
Source§impl PartialOrd for Tcp4ConnectionState
impl PartialOrd for Tcp4ConnectionState
impl StructuralPartialEq for Tcp4ConnectionState
Auto Trait Implementations§
impl Freeze for Tcp4ConnectionState
impl RefUnwindSafe for Tcp4ConnectionState
impl Send for Tcp4ConnectionState
impl Sync for Tcp4ConnectionState
impl Unpin for Tcp4ConnectionState
impl UnsafeUnpin for Tcp4ConnectionState
impl UnwindSafe for Tcp4ConnectionState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)