pub enum SocketStatus {
Opening,
Opened,
Closed,
Failed,
}
Variants§
Trait Implementations§
Source§impl Clone for SocketStatus
impl Clone for SocketStatus
Source§fn clone(&self) -> SocketStatus
fn clone(&self) -> SocketStatus
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 SocketStatus
impl Debug for SocketStatus
Source§impl<'de> Deserialize<'de> for SocketStatus
impl<'de> Deserialize<'de> for SocketStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SocketStatus
impl PartialEq for SocketStatus
Source§impl Serialize for SocketStatus
impl Serialize for SocketStatus
impl Copy for SocketStatus
impl Eq for SocketStatus
impl StructuralPartialEq for SocketStatus
Auto Trait Implementations§
impl Freeze for SocketStatus
impl RefUnwindSafe for SocketStatus
impl Send for SocketStatus
impl Sync for SocketStatus
impl Unpin for SocketStatus
impl UnwindSafe for SocketStatus
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
)