pub struct WasiSocketState {Show 14 fields
pub sock_type: (AddressFamily, SocketType),
pub local_addr: Option<SocketAddr>,
pub peer_addr: Option<SocketAddr>,
pub bind_device: Vec<u8>,
pub backlog: u32,
pub shutdown: Option<Shutdown>,
pub nonblocking: bool,
pub so_reuseaddr: bool,
pub so_conn_state: ConnectState,
pub so_recv_buf_size: usize,
pub so_send_buf_size: usize,
pub so_recv_timeout: Option<Duration>,
pub so_send_timeout: Option<Duration>,
pub fs_rights: WASIRights,
}Fields§
§sock_type: (AddressFamily, SocketType)§local_addr: Option<SocketAddr>§peer_addr: Option<SocketAddr>§bind_device: Vec<u8>§backlog: u32§shutdown: Option<Shutdown>§nonblocking: bool§so_reuseaddr: bool§so_conn_state: ConnectState§so_recv_buf_size: usize§so_send_buf_size: usize§so_recv_timeout: Option<Duration>§so_send_timeout: Option<Duration>§fs_rights: WASIRightsTrait Implementations§
Source§impl Clone for WasiSocketState
impl Clone for WasiSocketState
Source§impl Debug for WasiSocketState
impl Debug for WasiSocketState
Auto Trait Implementations§
impl Freeze for WasiSocketState
impl RefUnwindSafe for WasiSocketState
impl Send for WasiSocketState
impl Sync for WasiSocketState
impl Unpin for WasiSocketState
impl UnsafeUnpin for WasiSocketState
impl UnwindSafe for WasiSocketState
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