Enum async_wasi::snapshots::common::net::ConnectState
source · pub enum ConnectState {
Empty,
Listening,
Connected,
Connecting,
}
Variants§
Trait Implementations§
source§impl Clone for ConnectState
impl Clone for ConnectState
source§fn clone(&self) -> ConnectState
fn clone(&self) -> ConnectState
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 ConnectState
impl Debug for ConnectState
source§impl Default for ConnectState
impl Default for ConnectState
source§impl From<ConnectState> for SerialConnectState
impl From<ConnectState> for SerialConnectState
source§fn from(s: ConnectState) -> Self
fn from(s: ConnectState) -> Self
Converts to this type from the input type.
source§impl From<SerialConnectState> for ConnectState
impl From<SerialConnectState> for ConnectState
source§fn from(val: SerialConnectState) -> Self
fn from(val: SerialConnectState) -> Self
Converts to this type from the input type.
source§impl PartialEq for ConnectState
impl PartialEq for ConnectState
source§fn eq(&self, other: &ConnectState) -> bool
fn eq(&self, other: &ConnectState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConnectState
impl Eq for ConnectState
impl StructuralEq for ConnectState
impl StructuralPartialEq for ConnectState
Auto Trait Implementations§
impl RefUnwindSafe for ConnectState
impl Send for ConnectState
impl Sync for ConnectState
impl Unpin for ConnectState
impl UnwindSafe for ConnectState
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