pub trait MotionArtifactCache {
// Required methods
fn get(&self, key: &str) -> Option<String>;
fn insert(&mut self, key: String, value: String);
}Required Methods§
fn get(&self, key: &str) -> Option<String>
fn insert(&mut self, key: String, value: String)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".