pub trait SessionCache: Debug {
// Required methods
fn load(&self, session_id: &str) -> Result<Session, CacheError>;
fn save(&self, session: &Session) -> Result<(), CacheError>;
}Expand description
Stores cached data specific to a session, such as submission timeouts.