pub trait ObjectSource {
// Required method
fn get(&self, key: &str) -> Result<Option<Vec<u8>>, DataError>;
}Expand description
Read-only byte store. Ok(None) means the key is absent (fail-soft).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".