pub trait BlockStore:
Send
+ Sync
+ 'static {
// Required method
fn read(&self, cell: CellKey) -> Result<Option<Vec<u8>>>;
}Expand description
Woher die rohen Block-Bytes einer Zelle kommen.
Der Aufruf geschieht auf einem Worker-Thread und darf dort so lange brauchen, wie er will — der Haupt-Thread wartet nie auf ihn.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".