pub enum LivenessStatus {
Live,
Revoked,
Expired,
Throttled,
NotImplemented,
Error,
}Expand description
What the upstream said about a probed token.
Variants§
Live
Token authenticated.
Revoked
Token was rejected as permanently invalid.
Expired
Token had a hard expiration that has now passed.
Throttled
Probe was rate-limited; result inconclusive.
NotImplemented
Provider plugin has no native introspection.
Error
Unexpected error (network, non-JSON, 5xx, …). The
detail field carries the message.
Trait Implementations§
Source§impl Clone for LivenessStatus
impl Clone for LivenessStatus
Source§fn clone(&self) -> LivenessStatus
fn clone(&self) -> LivenessStatus
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 LivenessStatus
impl Debug for LivenessStatus
Source§impl PartialEq for LivenessStatus
impl PartialEq for LivenessStatus
Source§fn eq(&self, other: &LivenessStatus) -> bool
fn eq(&self, other: &LivenessStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LivenessStatus
impl Eq for LivenessStatus
impl StructuralPartialEq for LivenessStatus
Auto Trait Implementations§
impl Freeze for LivenessStatus
impl RefUnwindSafe for LivenessStatus
impl Send for LivenessStatus
impl Sync for LivenessStatus
impl Unpin for LivenessStatus
impl UnsafeUnpin for LivenessStatus
impl UnwindSafe for LivenessStatus
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.