pub trait Store {
// Required methods
fn load(&self, key: &str) -> Option<String>;
fn save(&self, key: &str, val: &str);
}Expand description
A minimal key→string blob store. Keys are short, filesystem-safe slugs.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".