Struct domain::resolv::lookup::addr::FoundAddrs [−][src]
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
impl<R: Resolver> FoundAddrs<R>
[src]
pub fn iter(&self) -> FoundAddrsIter<&R::Octets>ⓘNotable traits for FoundAddrsIter<Ref>
impl<Ref: OctetsRef> Iterator for FoundAddrsIter<Ref> type Item = ParsedDname<Ref>;
where
&'a R::Octets: OctetsRef,
[src]
Notable traits for FoundAddrsIter<Ref>
impl<Ref: OctetsRef> Iterator for FoundAddrsIter<Ref> type Item = ParsedDname<Ref>;
&'a R::Octets: OctetsRef,
Returns an iterator over the host names.
Trait Implementations
impl<'a, R: Resolver> IntoIterator for &'a FoundAddrs<R> where
&'x R::Octets: OctetsRef,
[src]
&'x R::Octets: OctetsRef,
type Item = ParsedDname<&'a R::Octets>
The type of the elements being iterated over.
type IntoIter = FoundAddrsIter<&'a R::Octets>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for FoundAddrs<R> where
<R as Resolver>::Answer: RefUnwindSafe,
<R as Resolver>::Answer: RefUnwindSafe,
impl<R> Send for FoundAddrs<R> where
<R as Resolver>::Answer: Send,
<R as Resolver>::Answer: Send,
impl<R> Sync for FoundAddrs<R> where
<R as Resolver>::Answer: Sync,
<R as Resolver>::Answer: Sync,
impl<R> Unpin for FoundAddrs<R> where
<R as Resolver>::Answer: Unpin,
<R as Resolver>::Answer: Unpin,
impl<R> UnwindSafe for FoundAddrs<R> where
<R as Resolver>::Answer: UnwindSafe,
<R as Resolver>::Answer: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Source, Target> OctetsInto<Target> for Source where
Target: OctetsFrom<Source>,
[src]
Target: OctetsFrom<Source>,
pub fn octets_into(Self) -> Result<Target, ShortBuf>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,