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