Enum virtual_net::SocketStatus
source · 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§fn eq(&self, other: &SocketStatus) -> bool
fn eq(&self, other: &SocketStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)