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