Struct async_wasi::snapshots::preview_1::async_socket::addrinfo::WasiAddrinfo
source · #[repr(C, packed(4))]pub struct WasiAddrinfo {
pub ai_flags: u16,
pub ai_family: AddressFamily,
pub ai_socktype: u8,
pub ai_protocol: u8,
pub ai_addrlen: u32,
pub ai_addr: u32,
pub ai_canonname: u32,
pub ai_canonnamelen: u32,
pub ai_next: u32,
}
Fields§
§ai_flags: u16
§ai_family: AddressFamily
§ai_socktype: u8
§ai_protocol: u8
§ai_addrlen: u32
§ai_addr: u32
§ai_canonname: u32
§ai_canonnamelen: u32
§ai_next: u32
Trait Implementations§
source§impl Clone for WasiAddrinfo
impl Clone for WasiAddrinfo
source§fn clone(&self) -> WasiAddrinfo
fn clone(&self) -> WasiAddrinfo
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 WasiAddrinfo
impl Send for WasiAddrinfo
impl Sync for WasiAddrinfo
impl Unpin for WasiAddrinfo
impl UnwindSafe for WasiAddrinfo
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