Trait yew_state::handler::Storable[][src]

pub trait Storable: Serialize + for<'a> Deserialize<'a> {
    fn key() -> &'static str { ... }
fn area() -> Area { ... } }

Allows state to be stored persistently in local or session storage.

Provided methods

fn key() -> &'static str[src]

The key used to save and load state from storage.

fn area() -> Area[src]

The area to store state.

Loading content...

Implementations on Foreign Types

impl<T: Storable> Storable for Option<T>[src]

impl<T: Storable> Storable for Rc<T>[src]

Loading content...

Implementors

Loading content...