Trait rusty_express::prelude::SessionHandler
[−]
[src]
pub trait SessionHandler { fn get_id(&self) -> String; fn get_value(&self, key: &str) -> Option<String>; fn set_value(&mut self, key: &str, val: &str) -> Option<String>; fn auto_lifetime_renew(&mut self, auto_renewal: bool); fn expires_at(&mut self, expires_at: DateTime<Utc>); fn save(&mut self); }
Required Methods
fn get_id(&self) -> String
fn get_value(&self, key: &str) -> Option<String>
fn set_value(&mut self, key: &str, val: &str) -> Option<String>
fn auto_lifetime_renew(&mut self, auto_renewal: bool)
fn expires_at(&mut self, expires_at: DateTime<Utc>)
fn save(&mut self)
Implementors
impl SessionHandler for Session