#[repr(u32)]pub enum os_socket_status_t {
Os_No_Error = 0,
Os_Connection_Refused = 1,
Os_Connection_Reset = 2,
Os_Timed_Out = 3,
Os_Net_Unreach = 4,
Os_Host_Unreach = 5,
Os_In_Progress = 6,
Os_Other = 7,
}
Variants§
Os_No_Error = 0
Os_Connection_Refused = 1
Os_Connection_Reset = 2
Os_Timed_Out = 3
Os_Net_Unreach = 4
Os_Host_Unreach = 5
Os_In_Progress = 6
Os_Other = 7
Trait Implementations§
source§impl Clone for os_socket_status_t
impl Clone for os_socket_status_t
source§fn clone(&self) -> os_socket_status_t
fn clone(&self) -> os_socket_status_t
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 os_socket_status_t
impl Debug for os_socket_status_t
source§impl Hash for os_socket_status_t
impl Hash for os_socket_status_t
source§impl Ord for os_socket_status_t
impl Ord for os_socket_status_t
source§fn cmp(&self, other: &os_socket_status_t) -> Ordering
fn cmp(&self, other: &os_socket_status_t) -> Ordering
1.21.0 · source§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 os_socket_status_t
impl PartialEq for os_socket_status_t
source§impl PartialOrd for os_socket_status_t
impl PartialOrd for os_socket_status_t
impl Copy for os_socket_status_t
impl Eq for os_socket_status_t
impl StructuralPartialEq for os_socket_status_t
Auto Trait Implementations§
impl Freeze for os_socket_status_t
impl RefUnwindSafe for os_socket_status_t
impl Send for os_socket_status_t
impl Sync for os_socket_status_t
impl Unpin for os_socket_status_t
impl UnwindSafe for os_socket_status_t
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
)