[][src]Trait jwt::algorithm::store::Store

pub trait Store {
    type Algorithm: ?Sized;
    pub fn get(&self, key_id: &str) -> Option<&Self::Algorithm>;
}

A store of keys that can be retrieved by key id.

Associated Types

Loading content...

Required methods

pub fn get(&self, key_id: &str) -> Option<&Self::Algorithm>[src]

Loading content...

Implementations on Foreign Types

impl<K, A> Store for BTreeMap<K, A> where
    K: Borrow<str> + Ord
[src]

type Algorithm = A

impl<K, A> Store for HashMap<K, A> where
    K: Borrow<str> + Ord + Hash
[src]

type Algorithm = A

Loading content...

Implementors

Loading content...