pub struct FoundAddrs<R: Resolver>(_);
Expand description
The success type of the lookup_addr()
function.
The only purpose of this type is to return an iterator over host names
via its iter()
method.
Implementations§
Trait Implementations§
source§impl<'a, R: Resolver> IntoIterator for &'a FoundAddrs<R>where
R::Octets: Octets,
impl<'a, R: Resolver> IntoIterator for &'a FoundAddrs<R>where R::Octets: Octets,
Auto Trait Implementations§
impl<R> RefUnwindSafe for FoundAddrs<R>where <R as Resolver>::Answer: RefUnwindSafe,
impl<R> Send for FoundAddrs<R>where <R as Resolver>::Answer: Send,
impl<R> Sync for FoundAddrs<R>where <R as Resolver>::Answer: Sync,
impl<R> Unpin for FoundAddrs<R>where <R as Resolver>::Answer: Unpin,
impl<R> UnwindSafe for FoundAddrs<R>where <R as Resolver>::Answer: UnwindSafe,
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
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.