pub trait Backend: Default {
// Required methods
fn init(&self) -> Result<()>;
fn sync(
&self,
direction: Direction,
files: Vec<PathBuf>,
ignored: Vec<PathBuf>,
) -> Result<()>;
fn list(&self) -> Vec<PathBuf>;
}Required Methods§
fn init(&self) -> Result<()>
fn sync( &self, direction: Direction, files: Vec<PathBuf>, ignored: Vec<PathBuf>, ) -> Result<()>
fn list(&self) -> Vec<PathBuf>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.