Trait Storage
mind::storage
pub trait Storage { fn init() -> Result<Self> where Self: Sized; fn load(&self) -> Result<Mind>; fn save(&self, mind: Mind) -> Result<()>; }
fn init() -> Result<Self> where Self: Sized,
fn load(&self) -> Result<Mind>
fn save(&self, mind: Mind) -> Result<()>
impl Storage for LocalStorage
fn init() -> Result<Self>