pub struct SkdbMemAlloc;Expand description
§In-Memory Allocator
For a redis-like database for caching, testing the database, etc. Lives only on the heap and gets wiped on program exit.
Trait Implementations§
Source§impl<'a> Allocator<'a> for SkdbMemAlloc
impl<'a> Allocator<'a> for SkdbMemAlloc
Source§fn load_layers(&self) -> Result<Vec<Layer<'a, Self::LayerStream>>, Error>
fn load_layers(&self) -> Result<Vec<Layer<'a, Self::LayerStream>>, Error>
Loads all the read-only layers in the database as
Layers