Struct asyncio::ip::Resolver
[−]
[src]
pub struct Resolver<P, S> { /* fields omitted */ }
An entry produced by a resolver.
pub struct Resolver<P, S> { /* fields omitted */ }
An entry produced by a resolver.
impl<P: IpProtocol, S: Socket<P> + AsAsyncFd> Resolver<P, S>
[src]fn new(ctx: &IoContext) -> Resolver<P, S>
fn async_connect<Q, F>(&self, query: Q, handler: F) -> F::Output where Q: ResolverQuery<P>, F: Handler<(S, IpEndpoint<P>), Error>
fn connect<Q>(&self, query: Q) -> Result<(S, IpEndpoint<P>)> where Q: ResolverQuery<P>
fn resolve<Q>(&self, query: Q) -> Result<ResolverIter<P>> where Q: ResolverQuery<P>
impl<P, S> AsIoContext for Resolver<P, S>
[src]impl Debug for Resolver<Tcp, StreamSocket<Tcp>>
[src]impl Debug for Resolver<Udp, DgramSocket<Udp>>
[src]impl Debug for Resolver<Icmp, RawSocket<Icmp>>
[src]