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 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 !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