pub enum UpdateAction {
NoUpdate,
JwksUpdate,
CacheUpdate(Settings),
JwksAndCacheUpdate(Settings),
}Variants§
NoUpdate
We checked the JWKS uri and it was the same as the last time we refreshed it so no action was taken
JwksUpdate
We checked the JWKS uri and it was different so we updated our local cache
CacheUpdate(Settings)
The JWKS Uri responded with a different cache-control header
JwksAndCacheUpdate(Settings)
Trait Implementations§
Source§impl Clone for UpdateAction
impl Clone for UpdateAction
Source§fn clone(&self) -> UpdateAction
fn clone(&self) -> UpdateAction
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 moreimpl Copy for UpdateAction
Source§impl Debug for UpdateAction
impl Debug for UpdateAction
impl Eq for UpdateAction
Source§impl PartialEq for UpdateAction
impl PartialEq for UpdateAction
Source§fn eq(&self, other: &UpdateAction) -> bool
fn eq(&self, other: &UpdateAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateAction
Auto Trait Implementations§
impl Freeze for UpdateAction
impl RefUnwindSafe for UpdateAction
impl Send for UpdateAction
impl Sync for UpdateAction
impl Unpin for UpdateAction
impl UnsafeUnpin for UpdateAction
impl UnwindSafe for UpdateAction
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.