[][src]Trait sessions_core::VerifyFn

pub trait VerifyFn where
    Self: Send + Sync + 'static, 
{ #[must_use] pub fn call(&self, key: &str) -> bool; }

A trait for verifing session id

Required methods

#[must_use]pub fn call(&self, key: &str) -> bool[src]

Loading content...

Implementors

impl<F> VerifyFn for F where
    F: Send + Sync + 'static + Fn(&str) -> bool
[src]

Loading content...