Struct async_wasi::snapshots::preview_1::async_socket::addrinfo::WasiSockaddr
source · #[repr(C)]pub struct WasiSockaddr {
pub family: AddressFamily,
pub sa_data_len: u32,
pub sa_data: u32,
}
Fields§
§family: AddressFamily
§sa_data_len: u32
§sa_data: u32
Trait Implementations§
source§impl Clone for WasiSockaddr
impl Clone for WasiSockaddr
source§fn clone(&self) -> WasiSockaddr
fn clone(&self) -> WasiSockaddr
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 moreAuto Trait Implementations§
impl RefUnwindSafe for WasiSockaddr
impl Send for WasiSockaddr
impl Sync for WasiSockaddr
impl Unpin for WasiSockaddr
impl UnwindSafe for WasiSockaddr
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