Trait Store
jwt::algorithm::store
pub trait Store { type Algorithm: ?Sized; fn get(&self, key_id: &str) -> Option<&Self::Algorithm>; }
A store of keys that can be retrieved by key id.
type Algorithm: ?Sized
fn get(&self, key_id: &str) -> Option<&Self::Algorithm>
impl<T, A> Store for T where T: Index<&'a str, Output = A>,
type Algorithm = A
fn get(&self, key_id: &str) -> Option<&A>