Enum ttfb::ResolveDnsError
source · pub enum ResolveDnsError {
NoResults,
Other(Box<ResolveError>),
}
Expand description
Errors during DNS resolving.
Variants§
NoResults
Can’t find DNS entry for the given host.
Other(Box<ResolveError>)
Couldn’t resolve DNS for given host.
Trait Implementations§
source§impl Clone for ResolveDnsError
impl Clone for ResolveDnsError
source§fn clone(&self) -> ResolveDnsError
fn clone(&self) -> ResolveDnsError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResolveDnsError
impl Debug for ResolveDnsError
source§impl Display for ResolveDnsError
impl Display for ResolveDnsError
source§impl Error for ResolveDnsError
impl Error for ResolveDnsError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ResolveDnsError
impl !RefUnwindSafe for ResolveDnsError
impl Send for ResolveDnsError
impl Sync for ResolveDnsError
impl Unpin for ResolveDnsError
impl !UnwindSafe for ResolveDnsError
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