Struct salvo::hyper::client::connect::dns::GaiResolver [−]
pub struct GaiResolver { /* fields omitted */ }
Expand description
A resolver using blocking getaddrinfo
calls in a threadpool.
Implementations
impl GaiResolver
impl GaiResolver
pub fn new() -> GaiResolver
pub fn new() -> GaiResolver
Construct a new GaiResolver
.
Trait Implementations
impl Clone for GaiResolver
impl Clone for GaiResolver
pub fn clone(&self) -> GaiResolver
pub fn clone(&self) -> GaiResolver
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for GaiResolver
impl Debug for GaiResolver
impl Service<Name> for GaiResolver
impl Service<Name> for GaiResolver
Returns Poll::Ready(Ok(()))
when the service is able to process requests. Read more
Auto Trait Implementations
impl RefUnwindSafe for GaiResolver
impl Send for GaiResolver
impl Sync for GaiResolver
impl Unpin for GaiResolver
impl UnwindSafe for GaiResolver
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