Struct GaiResolver

struct GaiResolver { ... }

A resolver using blocking getaddrinfo calls in a threadpool.

Implementations

impl GaiResolver

fn new() -> Self

Construct a new GaiResolver.

impl Clone for GaiResolver

fn clone(self: &Self) -> GaiResolver

impl Debug for GaiResolver

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for GaiResolver

impl RefUnwindSafe for GaiResolver

impl Send for GaiResolver

impl Service for GaiResolver

fn poll_ready(self: &mut Self, _cx: &mut Context<'_>) -> Poll<Result<(), Error>>
fn call(self: &mut Self, name: Name) -> <Self as >::Future

impl Sync for GaiResolver

impl Unpin for GaiResolver

impl UnsafeUnpin for GaiResolver

impl UnwindSafe for GaiResolver

impl<T> Any for GaiResolver

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for GaiResolver

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for GaiResolver

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for GaiResolver

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for GaiResolver

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for GaiResolver

impl<T> ToOwned for GaiResolver

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> WithSubscriber for GaiResolver

impl<T, U> Into for GaiResolver

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for GaiResolver

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for GaiResolver

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>