Struct fabruic::error::ResolveError [−][src]
pub struct ResolveError { /* fields omitted */ }
This is supported on crate feature
trust-dns
only.Expand description
The error type for errors that get returned in the crate
Implementations
Get the kind of the error
pub fn from_response(
response: DnsResponse,
trust_nx: bool
) -> Result<DnsResponse, ResolveError>
pub fn from_response(
response: DnsResponse,
trust_nx: bool
) -> Result<DnsResponse, ResolveError>
A conversion to determine if the response is an error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl !UnwindSafe for ResolveError
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