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 PartialEq<SocketStatus> for SocketStatus
impl PartialEq<SocketStatus> 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 ==
.impl Copy for SocketStatus
impl Eq for SocketStatus
impl StructuralEq for SocketStatus
impl StructuralPartialEq for SocketStatus
Auto Trait Implementations§
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