[][src]Trait jwt::algorithm::store::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.

Associated Types

type Algorithm: ?Sized

Loading content...

Required methods

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

Loading content...

Implementors

impl<T, A> Store for T where
    T: Index<&'a str, Output = A>, 
[src]

type Algorithm = A

Loading content...