pub struct HickoryDnsResolver { /* private fields */ }Implementations§
Source§impl HickoryDnsResolver
impl HickoryDnsResolver
pub fn with_runtime(runtime: RuntimeContext) -> Self
Trait Implementations§
Source§impl Default for HickoryDnsResolver
impl Default for HickoryDnsResolver
Source§fn default() -> HickoryDnsResolver
fn default() -> HickoryDnsResolver
Returns the “default value” for a type. Read more
Source§impl DnsResolver for HickoryDnsResolver
Available on non-WebAssembly only.
impl DnsResolver for HickoryDnsResolver
Available on non-WebAssembly only.
fn lookup_ip( &self, request: &DnsLookupRequest, ) -> Result<Vec<IpAddr>, DnsResolverError>
fn lookup_records( &self, request: &DnsRecordLookupRequest, ) -> Result<Vec<Record>, DnsResolverError>
Auto Trait Implementations§
impl Freeze for HickoryDnsResolver
impl RefUnwindSafe for HickoryDnsResolver
impl Send for HickoryDnsResolver
impl Sync for HickoryDnsResolver
impl Unpin for HickoryDnsResolver
impl UnsafeUnpin for HickoryDnsResolver
impl UnwindSafe for HickoryDnsResolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more