Trait iron_sessionstorage_0_6::Value [] [src]

pub trait Value: Sized + 'static {
    fn get_key() -> &'static str;
fn into_raw(self) -> String;
fn from_raw(value: String) -> Option<Self>; }

A typed interface to the string-to-string mapping. Each type represents a key, each instance of a type can be serialized into a value.

Required Methods

Implementors