pub enum ProviderState {
Empty,
Loading,
Ready,
Refreshing,
}Expand description
Public representation of provider lifecycle state.
Variants§
Empty
No JWKS payload has been cached yet.
Loading
Initial fetch operation is currently running.
Ready
Fresh JWKS payload is available for requests.
Refreshing
Cache is serving while a refresh is in progress.
Trait Implementations§
Source§impl Clone for ProviderState
impl Clone for ProviderState
Source§fn clone(&self) -> ProviderState
fn clone(&self) -> ProviderState
Returns a duplicate 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 ProviderState
impl Debug for ProviderState
Source§impl<'de> Deserialize<'de> for ProviderState
impl<'de> Deserialize<'de> for ProviderState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderState
impl PartialEq for ProviderState
Source§impl Serialize for ProviderState
impl Serialize for ProviderState
impl Copy for ProviderState
impl Eq for ProviderState
impl StructuralPartialEq for ProviderState
Auto Trait Implementations§
impl Freeze for ProviderState
impl RefUnwindSafe for ProviderState
impl Send for ProviderState
impl Sync for ProviderState
impl Unpin for ProviderState
impl UnwindSafe for ProviderState
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.