[−][src]Struct c_ares_resolver::HostResults
An owned version of c_ares::HostResults
.
Fields
hostname: CString
The hostname returned by the lookup.
addresses: Vec<IpAddr>
The IP addresses returned by the lookup.
aliases: Vec<CString>
The aliases returned by the lookup.
Trait Implementations
impl Clone for HostResults
[src]
fn clone(&self) -> HostResults
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HostResults
[src]
impl Eq for HostResults
[src]
impl<'a> From<HostResults<'a>> for HostResults
[src]
fn from(results: HostResults<'_>) -> Self
[src]
impl Hash for HostResults
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for HostResults
[src]
fn cmp(&self, other: &HostResults) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<HostResults> for HostResults
[src]
fn eq(&self, other: &HostResults) -> bool
[src]
fn ne(&self, other: &HostResults) -> bool
[src]
impl PartialOrd<HostResults> for HostResults
[src]
fn partial_cmp(&self, other: &HostResults) -> Option<Ordering>
[src]
fn lt(&self, other: &HostResults) -> bool
[src]
fn le(&self, other: &HostResults) -> bool
[src]
fn gt(&self, other: &HostResults) -> bool
[src]
fn ge(&self, other: &HostResults) -> bool
[src]
impl StructuralEq for HostResults
[src]
impl StructuralPartialEq for HostResults
[src]
Auto Trait Implementations
impl RefUnwindSafe for HostResults
impl Send for HostResults
impl Sync for HostResults
impl Unpin for HostResults
impl UnwindSafe for HostResults
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,
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<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[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.
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>,