pub enum ResolveFailure {
Blocked(String),
Lookup(Error),
}Expand description
Why a host name yielded no address to connect to.
Variants§
Blocked(String)
It resolved, but only to addresses the policy forbids.
Lookup(Error)
DNS itself failed; the policy had nothing to judge.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResolveFailure
impl !UnwindSafe for ResolveFailure
impl Freeze for ResolveFailure
impl Send for ResolveFailure
impl Sync for ResolveFailure
impl Unpin for ResolveFailure
impl UnsafeUnpin for ResolveFailure
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