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