Struct rustdns::Resolver [−][src]
pub struct Resolver<E = UdpClient> { /* fields omitted */ }
Implementations
Creates a new Resolver using the system’s default DNS server.
Resolves a name into one or more IP address. See rfc1035#section-7 and rfc1034#section-5.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Resolver<E> where
E: RefUnwindSafe,
impl<E> UnwindSafe for Resolver<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more