pub struct FoundAddrs<R: Resolver>(/* private fields */);
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>
impl<'a, R: Resolver> IntoIterator for &'a FoundAddrs<R>
Auto Trait Implementations§
impl<R> Freeze for FoundAddrs<R>
impl<R> RefUnwindSafe for FoundAddrs<R>
impl<R> Send for FoundAddrs<R>
impl<R> Sync for FoundAddrs<R>
impl<R> Unpin for FoundAddrs<R>
impl<R> UnwindSafe for FoundAddrs<R>
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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.