Struct sessions_core::Config [−][src]
pub struct Config<G, V> {
pub cookie: CookieOptions,
pub storage: Arc<dyn Storage>,
pub generate: G,
pub verify: V,
}
Expand description
Sessions Config
Fields
Cookie Options
storage: Arc<dyn Storage>
Current Storage
generate: G
Generates session id
verify: V
Verifes session id
Implementations
Trait Implementations
Get a data from storage by the key
Set a data to storage by the key
Remove a data from storage by the key
Reset the storage and remove all keys