pub trait SessionHandler<T: SessionData> {
    fn get_id(&self) -> String;
    fn get_data(&self) -> Option<T>;
    fn set_data(&mut self, val: T);
    fn lifetime_auto_renew(&mut self, auto_renewal: bool);
    fn expires_at(&mut self, expires_at: DateTime<Utc>);
    fn save(&mut self);
}

Required Methods§

Implementors§