Struct GaiAddrs

pub struct GaiAddrs { /* private fields */ }

An iterator of IP addresses returned from getaddrinfo.

Trait Implementations

impl Debug for GaiAddrs

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Iterator for GaiAddrs

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

Auto Trait Implementations

impl Freeze for GaiAddrs

impl RefUnwindSafe for GaiAddrs

impl Send for GaiAddrs

impl Sync for GaiAddrs

impl Unpin for GaiAddrs

impl UnsafeUnpin for GaiAddrs

impl UnwindSafe for GaiAddrs

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for GaiAddrs

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for GaiAddrs

impl<T> WithSubscriber for GaiAddrs

impl<T, U> Into<U> for GaiAddrs 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 GaiAddrs where U: Into<T>,

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

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

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