Struct asio::ip::ResolveEntry
[−]
[src]
pub struct ResolveEntry<'a, P: Protocol> { // some fields omitted }
An entry produced by a resolver.
Methods
impl<'a, P: Protocol> ResolveEntry<'a, P>
[src]
fn endpoint(&self) -> IpEndpoint<P>
fn flags(&self) -> i32
fn is_v4(&self) -> bool
fn is_v6(&self) -> bool
Trait Implementations
impl<'a, P: Clone + Protocol> Clone for ResolveEntry<'a, P>
[src]
fn clone(&self) -> ResolveEntry<'a, P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more