pub enum HttpAclError {
HostDenied {
host: String,
},
}Expand description
An error that can occur when resolving a host.
Returned by HttpAclDnsResolver when a hostname itself is denied by the ACL.
Downcast the boxed error from a failed resolution to check for this specifically,
as opposed to a lower-level resolution failure.
Variants§
Trait Implementations§
Source§impl Debug for HttpAclError
impl Debug for HttpAclError
Source§impl Display for HttpAclError
impl Display for HttpAclError
Source§impl Error for HttpAclError
impl Error for HttpAclError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 HttpAclError
impl RefUnwindSafe for HttpAclError
impl Send for HttpAclError
impl Sync for HttpAclError
impl Unpin for HttpAclError
impl UnsafeUnpin for HttpAclError
impl UnwindSafe for HttpAclError
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