Struct asio::ip::IcmpResolver [] [src]

pub struct IcmpResolver {
}

The ICMP(v6) resolver type.

Methods

impl IcmpResolver
[src]

fn new() -> Self

Make a ICMP(v6) resolver.

Trait Implementations

impl Cancel for IcmpResolver
[src]

fn cancel<A, T>(a: A, obj: &Strand<T>) where A: Fn(&T) -> &Self + 'static, T: 'static

impl Resolver for IcmpResolver
[src]

type Protocol = Icmp

fn resolve<'a, T: IoObject, Q: ResolveQuery<'a, Self>>(&self, io: &T, query: Q) -> Result<Q::Iter>

fn async_resolve<'a, Q, A, F, T>(a: A, query: Q, callback: F, obj: &Strand<T>) where Q: ResolveQuery<'a, Self> + 'static, A: Fn(&T) -> &Self + Send + 'static, F: FnOnce(Strand<T>, Result<Q::Iter>) + Send + 'static, T: 'static