pub trait Store {
// Required methods
fn put(&self, src: &Path, key: &str) -> Result<()>;
fn get(&self, key: &str, dst: &Path) -> Result<()>;
fn exists(&self, key: &str) -> Result<Option<bool>>;
}Required Methods§
fn put(&self, src: &Path, key: &str) -> Result<()>
fn get(&self, key: &str, dst: &Path) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".