enum AccessCheck {
Allowed,
Denied,
Unexpected,
}Expand description
What a wolf-server access_check reply means.
Variants§
Allowed
200 — wolf-server allowed the request.
Denied
401/403 — wolf-server evaluated the token and refused it. A
deliberate, client-facing decision → the denied port.
Unexpected
Anything else — 5xx, or a 4xx that means the request to
wolf-server was wrong rather than the caller’s access (404 from a
wrong server base URL, 400). No verdict → the error port.
Trait Implementations§
Source§impl Debug for AccessCheck
impl Debug for AccessCheck
impl Eq for AccessCheck
Source§impl PartialEq for AccessCheck
impl PartialEq for AccessCheck
Source§fn eq(&self, other: &AccessCheck) -> bool
fn eq(&self, other: &AccessCheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessCheck
Auto Trait Implementations§
impl Freeze for AccessCheck
impl RefUnwindSafe for AccessCheck
impl Send for AccessCheck
impl Sync for AccessCheck
impl Unpin for AccessCheck
impl UnsafeUnpin for AccessCheck
impl UnwindSafe for AccessCheck
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more