#[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 Freeze for WasiSockaddr
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