Trait sessions_core::GenerateFn[][src]

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

A trait for generating session id

Required methods

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

Loading content...

Implementors

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

Loading content...