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