[][src]Trait sessions::GenerateFn

pub trait GenerateFn: Send + Sync + 'static {
#[must_use]    pub fn call(&self) -> String;
}

A trait for generating session id

Required methods

#[must_use]pub fn call(&self) -> String[src]

Loading content...

Implementors

impl<F> GenerateFn for F where
    F: Send + Sync + 'static + Fn() -> String
[src]

Loading content...