pub struct EncryptedBackend { /* private fields */ }Implementations§
Trait Implementations§
Source§impl StorageBackend for EncryptedBackend
impl StorageBackend for EncryptedBackend
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 EncryptedBackend
impl !RefUnwindSafe for EncryptedBackend
impl Send for EncryptedBackend
impl Sync for EncryptedBackend
impl Unpin for EncryptedBackend
impl UnsafeUnpin for EncryptedBackend
impl !UnwindSafe for EncryptedBackend
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