Enum http_acl::utils::authority::AuthorityError
source · #[non_exhaustive]pub enum AuthorityError {
InvalidHost,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidHost
Trait Implementations§
source§impl Clone for AuthorityError
impl Clone for AuthorityError
source§fn clone(&self) -> AuthorityError
fn clone(&self) -> AuthorityError
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 AuthorityError
impl Debug for AuthorityError
source§impl Display for AuthorityError
impl Display for AuthorityError
source§impl Hash for AuthorityError
impl Hash for AuthorityError
source§impl Ord for AuthorityError
impl Ord for AuthorityError
source§fn cmp(&self, other: &AuthorityError) -> Ordering
fn cmp(&self, other: &AuthorityError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AuthorityError> for AuthorityError
impl PartialEq<AuthorityError> for AuthorityError
source§fn eq(&self, other: &AuthorityError) -> bool
fn eq(&self, other: &AuthorityError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AuthorityError> for AuthorityError
impl PartialOrd<AuthorityError> for AuthorityError
source§fn partial_cmp(&self, other: &AuthorityError) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthorityError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for AuthorityError
impl StructuralEq for AuthorityError
impl StructuralPartialEq for AuthorityError
Auto Trait Implementations§
impl RefUnwindSafe for AuthorityError
impl Send for AuthorityError
impl Sync for AuthorityError
impl Unpin for AuthorityError
impl UnwindSafe for AuthorityError
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