pub struct FjallBackend { /* private fields */ }Implementations§
Source§impl FjallBackend
impl FjallBackend
Trait Implementations§
Source§impl StorageBackend for FjallBackend
impl StorageBackend for FjallBackend
Source§fn prefix_scan(&self, prefix: &[u8]) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
fn prefix_scan(&self, prefix: &[u8]) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
Scans all keys with the given prefix. Read more
Source§fn prefix_count(&self, prefix: &[u8]) -> Result<usize>
fn prefix_count(&self, prefix: &[u8]) -> Result<usize>
Counts entries matching the given prefix without materializing values. Read more
Source§fn prefix_scan_keys(&self, prefix: &[u8]) -> Result<Vec<Vec<u8>>>
fn prefix_scan_keys(&self, prefix: &[u8]) -> Result<Vec<Vec<u8>>>
Returns only keys matching the given prefix, without loading values. Read more
Source§fn prefix_scan_batch(
&self,
prefix: &[u8],
batch_size: usize,
after_key: Option<&[u8]>,
) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
fn prefix_scan_batch( &self, prefix: &[u8], batch_size: usize, after_key: Option<&[u8]>, ) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
Scans entries matching prefix in batches, starting after
after_key. Read moreSource§fn range_scan(
&self,
start: &[u8],
end: &[u8],
) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
fn range_scan( &self, start: &[u8], end: &[u8], ) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
Scans keys in the given range. Read more
Source§fn batch(&self) -> Box<dyn BatchOperations>
fn batch(&self) -> Box<dyn BatchOperations>
Creates a new batch for atomic operations.
Auto Trait Implementations§
impl Freeze for FjallBackend
impl !RefUnwindSafe for FjallBackend
impl Send for FjallBackend
impl Sync for FjallBackend
impl Unpin for FjallBackend
impl UnsafeUnpin for FjallBackend
impl !UnwindSafe for FjallBackend
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