Enum async_wasi::snapshots::serialize::PollFdState
source · pub enum PollFdState {
UdpSocket {
fd: i32,
socket_type: SerialSocketType,
local_addr: Option<SocketAddr>,
peer_addr: Option<SocketAddr>,
poll_read: bool,
poll_write: bool,
},
TcpListener {
fd: i32,
socket_type: SerialSocketType,
local_addr: Option<SocketAddr>,
peer_addr: Option<SocketAddr>,
poll_read: bool,
poll_write: bool,
},
TcpStream {
fd: i32,
socket_type: SerialSocketType,
local_addr: Option<SocketAddr>,
peer_addr: Option<SocketAddr>,
poll_read: bool,
poll_write: bool,
},
}
Variants§
UdpSocket
TcpListener
TcpStream
Trait Implementations§
source§impl Clone for PollFdState
impl Clone for PollFdState
source§fn clone(&self) -> PollFdState
fn clone(&self) -> PollFdState
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 PollFdState
impl Debug for PollFdState
source§impl<'de> Deserialize<'de> for PollFdState
impl<'de> Deserialize<'de> for PollFdState
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 PollFdState
impl Send for PollFdState
impl Sync for PollFdState
impl Unpin for PollFdState
impl UnwindSafe for PollFdState
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