pub struct AddrInfo {
pub flags: u32,
pub family: u32,
pub socktype: u32,
pub protocol: u32,
pub canonical_name: Option<String>,
pub addr: Option<SocketAddr>,
}Fields§
§flags: u32Bitwise OR of uv::AI_* flags
family: u32One of the uv::AF_* constants
socktype: u32One of the uv::SOCK_* constants
protocol: u32One of the uv::IPPROTO_* constants
canonical_name: Option<String>The canonical name of the host
addr: Option<SocketAddr>The address info, filled in by getaddrinfo()
Auto Trait Implementations§
impl Freeze for AddrInfo
impl RefUnwindSafe for AddrInfo
impl Send for AddrInfo
impl Sync for AddrInfo
impl Unpin for AddrInfo
impl UnwindSafe for AddrInfo
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