SaveLoadModel

Trait SaveLoadModel 

Source
pub trait SaveLoadModel: Model {
    // Required methods
    fn save(&self, path: &Path) -> Result<(), <Self::Backend as Backend>::Error>;
    fn load(
        &mut self,
        path: &Path,
    ) -> Result<(), <Self::Backend as Backend>::Error>;
}

Required Methods§

Source

fn save(&self, path: &Path) -> Result<(), <Self::Backend as Backend>::Error>

Source

fn load(&mut self, path: &Path) -> Result<(), <Self::Backend as Backend>::Error>

Implementors§