Trait iron_sessionstorage_0_6::RawSession [] [src]

pub trait RawSession {
    fn get_raw(&self, key: &str) -> IronResult<Option<String>>;
fn set_raw(&mut self, key: &str, value: String) -> IronResult<()>;
fn clear(&mut self) -> IronResult<()>;
fn write(&self, response: &mut Response) -> IronResult<()>; }

A simple key-value storage interface that is internally used by Session. After request handling the write method is called where the session backend has the chance to e.g. set cookies or otherwise modify the response.

Required Methods

Implementors