Trait mind::storage::Storage

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

Required Methods§

Implementors§