pub trait ConfigWithBackend {
// Required methods
fn save(&self) -> Result<()>;
fn load(&mut self) -> Result<()>;
fn add_path(&mut self, source_path: Vec<PathBuf>) -> Result<()>;
fn remove_path(&mut self, backend_path: Vec<PathBuf>) -> Result<()>;
fn init(&self) -> Result<()>;
}Required Methods§
fn save(&self) -> Result<()>
fn load(&mut self) -> Result<()>
fn add_path(&mut self, source_path: Vec<PathBuf>) -> Result<()>
fn remove_path(&mut self, backend_path: Vec<PathBuf>) -> Result<()>
fn init(&self) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".