Trait asyncio::ip::ResolverQuery
[−]
[src]
pub trait ResolverQuery<P: Protocol> { fn iter(self) -> Result<ResolverIter<P>>; }
A query to be passed to a resolver.
Required Methods
fn iter(self) -> Result<ResolverIter<P>>
Implementors
impl<P, N, S> ResolverQuery<P> for (P, N, S) where P: Protocol, N: AsRef<str>, S: AsRef<str>
impl ResolverQuery<Tcp> for (Passive, u16)
impl<'a> ResolverQuery<Tcp> for (Passive, &'a str)
impl<'a, 'b> ResolverQuery<Tcp> for (&'a str, &'b str)
impl ResolverQuery<Udp> for (Passive, u16)
impl<'a> ResolverQuery<Udp> for (Passive, &'a str)
impl<'a, 'b> ResolverQuery<Udp> for (&'a str, &'b str)
impl<'a> ResolverQuery<Icmp> for &'a str