Enum async_wasi::snapshots::serialize::SerialSocketType
source · pub enum SerialSocketType {
TCP4,
TCP6,
UDP4,
UDP6,
}
Variants§
Trait Implementations§
source§impl Clone for SerialSocketType
impl Clone for SerialSocketType
source§fn clone(&self) -> SerialSocketType
fn clone(&self) -> SerialSocketType
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 SerialSocketType
impl Debug for SerialSocketType
source§impl<'de> Deserialize<'de> for SerialSocketType
impl<'de> Deserialize<'de> for SerialSocketType
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 From<(AddressFamily, SocketType)> for SerialSocketType
impl From<(AddressFamily, SocketType)> for SerialSocketType
source§fn from(sock_type: (AddressFamily, SocketType)) -> Self
fn from(sock_type: (AddressFamily, SocketType)) -> Self
Converts to this type from the input type.
source§impl From<SerialSocketType> for (AddressFamily, SocketType)
impl From<SerialSocketType> for (AddressFamily, SocketType)
source§fn from(val: SerialSocketType) -> Self
fn from(val: SerialSocketType) -> Self
Converts to this type from the input type.
source§impl Serialize for SerialSocketType
impl Serialize for SerialSocketType
impl Copy for SerialSocketType
Auto Trait Implementations§
impl RefUnwindSafe for SerialSocketType
impl Send for SerialSocketType
impl Sync for SerialSocketType
impl Unpin for SerialSocketType
impl UnwindSafe for SerialSocketType
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