Struct async_wasi::snapshots::serialize::SerialUdpSocket
source · pub struct SerialUdpSocket {
pub state: SerialWasiSocketState,
}
Fields§
§state: SerialWasiSocketState
Implementations§
source§impl SerialUdpSocket
impl SerialUdpSocket
pub fn default_to_async_socket(self) -> Result<VFD>
pub fn to_async_socket_with_std(self, socket: UdpSocket) -> Result<VFD>
Trait Implementations§
source§impl Clone for SerialUdpSocket
impl Clone for SerialUdpSocket
source§fn clone(&self) -> SerialUdpSocket
fn clone(&self) -> SerialUdpSocket
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 SerialUdpSocket
impl Debug for SerialUdpSocket
source§impl<'de> Deserialize<'de> for SerialUdpSocket
impl<'de> Deserialize<'de> for SerialUdpSocket
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
Auto Trait Implementations§
impl RefUnwindSafe for SerialUdpSocket
impl Send for SerialUdpSocket
impl Sync for SerialUdpSocket
impl Unpin for SerialUdpSocket
impl UnwindSafe for SerialUdpSocket
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