pub struct MemorySstStore { /* private fields */ }Expand description
Global in-memory SST storage (for managing multiple SSTs)
This acts like a file system for in-memory SSTs, allowing storage and retrieval by name.
Implementations§
Source§impl MemorySstStore
impl MemorySstStore
Sourcepub fn store(&self, name: impl Into<String>, sst: MemorySstReader)
pub fn store(&self, name: impl Into<String>, sst: MemorySstReader)
Store an SST
Sourcepub fn get(&self, name: &str) -> Option<MemorySstReader>
pub fn get(&self, name: &str) -> Option<MemorySstReader>
Retrieve an SST by name
Sourcepub fn list_names(&self) -> Vec<String>
pub fn list_names(&self) -> Vec<String>
List all SST names
Trait Implementations§
Source§impl Clone for MemorySstStore
impl Clone for MemorySstStore
Source§fn clone(&self) -> MemorySstStore
fn clone(&self) -> MemorySstStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemorySstStore
impl RefUnwindSafe for MemorySstStore
impl Send for MemorySstStore
impl Sync for MemorySstStore
impl Unpin for MemorySstStore
impl UnwindSafe for MemorySstStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more