pub enum AuthBlockLayer {
Origin,
Proxy,
Network,
LoginRedirect,
}Expand description
Layer at which an auth block fired. Determines the operator-facing reason.
Variants§
Origin
Origin server (401 / 403 with explicit auth signal).
Proxy
Proxy in front of origin (407).
Network
Network gatekeeper / captive portal (511).
LoginRedirect
Heuristic 3xx-to-login redirect.
Trait Implementations§
Source§impl Clone for AuthBlockLayer
impl Clone for AuthBlockLayer
Source§fn clone(&self) -> AuthBlockLayer
fn clone(&self) -> AuthBlockLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthBlockLayer
impl Debug for AuthBlockLayer
Source§impl PartialEq for AuthBlockLayer
impl PartialEq for AuthBlockLayer
Source§fn eq(&self, other: &AuthBlockLayer) -> bool
fn eq(&self, other: &AuthBlockLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AuthBlockLayer
impl Eq for AuthBlockLayer
impl StructuralPartialEq for AuthBlockLayer
Auto Trait Implementations§
impl Freeze for AuthBlockLayer
impl RefUnwindSafe for AuthBlockLayer
impl Send for AuthBlockLayer
impl Sync for AuthBlockLayer
impl Unpin for AuthBlockLayer
impl UnsafeUnpin for AuthBlockLayer
impl UnwindSafe for AuthBlockLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.