Struct LookupHost

pub struct LookupHost { pub(in ::sys::net::connection::socket) original: *mut addrinfo, pub(in ::sys::net::connection::socket) cur: *mut addrinfo, pub(in ::sys::net::connection::socket) port: u16 }

Fields

original: *mut addrinfo
cur: *mut addrinfo
port: u16

Trait Implementations

impl Drop for LookupHost

fn drop(&mut self)

impl Iterator for LookupHost

type Item = SocketAddr;
fn next(&mut self) -> Option<SocketAddr>

impl Send for LookupHost

impl Sync for LookupHost

Auto Trait Implementations

impl Freeze for LookupHost

impl RefUnwindSafe for LookupHost

impl Unpin for LookupHost

impl UnsafeUnpin for LookupHost

impl UnwindSafe for LookupHost

Blanket Implementations

impl<I> IntoIterator for LookupHost where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for LookupHost where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for LookupHost where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for LookupHost where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for LookupHost

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for LookupHost where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for LookupHost

impl<T, U> Into<U> for LookupHost where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for LookupHost where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for LookupHost where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>