Trait sessions::VerifyFn[][src]

pub trait VerifyFn: 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...