pub struct SledStorage { /* private fields */ }Implementations§
Source§impl SledStorage
impl SledStorage
Trait Implementations§
Source§impl Clone for SledStorage
impl Clone for SledStorage
Source§fn clone(&self) -> SledStorage
fn clone(&self) -> SledStorage
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 moreSource§impl ConfigurableStorage for SledStorage
impl ConfigurableStorage for SledStorage
fn open_with_config<'async_trait, P>( path: P, config: StorageConfig, ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
Source§impl Debug for SledStorage
impl Debug for SledStorage
Source§impl Drop for SledStorage
impl Drop for SledStorage
Source§impl Space for SledStorage
impl Space for SledStorage
Source§impl Storage for SledStorage
impl Storage for SledStorage
type BlockStore = SledStore
type KeyValueStore = SledStore
Source§fn get_block_store<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Self::BlockStore>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_block_store<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Self::BlockStore>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get a BlockStore where all values stored in it are scoped to the given
name
Source§fn get_key_value_store<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Self::KeyValueStore>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_key_value_store<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Self::KeyValueStore>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get a KeyValueStore where all values stored in it are scoped to the
given name
Auto Trait Implementations§
impl Freeze for SledStorage
impl !RefUnwindSafe for SledStorage
impl Send for SledStorage
impl Sync for SledStorage
impl Unpin for SledStorage
impl !UnwindSafe for SledStorage
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