Trait VerifyFn
sessions
pub trait VerifyFn: Send + Sync + 'static { #[must_use] pub fn call(&self, key: &str) -> bool; }
A trait for verifing session id
#[must_use]pub fn call(&self, key: &str) -> bool
impl<F> VerifyFn for F where F: Send + Sync + 'static + Fn(&str) -> bool,
pub fn call(&self, key: &str) -> bool