Enum async_wasi::snapshots::common::net::SocketType
source · pub enum SocketType {
Datagram,
Stream,
}
Variants§
Trait Implementations§
source§impl Clone for SocketType
impl Clone for SocketType
source§fn clone(&self) -> SocketType
fn clone(&self) -> SocketType
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 SocketType
impl Debug for SocketType
source§impl Default for SocketType
impl Default for SocketType
source§fn default() -> SocketType
fn default() -> SocketType
Returns the “default value” for a type. Read more
impl Copy for SocketType
Auto Trait Implementations§
impl RefUnwindSafe for SocketType
impl Send for SocketType
impl Sync for SocketType
impl Unpin for SocketType
impl UnwindSafe for SocketType
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