pub trait RawSession {
type WriteFuture: Future<Item = (), Error = Error>;
// Required methods
fn get(&self) -> Option<&str>;
fn set(&mut self, value: String);
fn remove(&mut self);
fn write(self, input: &mut Input) -> Self::WriteFuture;
}Expand description
The trait representing the backend to manage session value.