pub struct TrackingStorage<S: Storage> { /* private fields */ }Implementations§
Source§impl TrackingStorage<MemoryStorage>
impl TrackingStorage<MemoryStorage>
pub fn wrap(other: MemoryStorage) -> Self
Trait Implementations§
Source§impl<S: Clone + Storage> Clone for TrackingStorage<S>
impl<S: Clone + Storage> Clone for TrackingStorage<S>
Source§fn clone(&self) -> TrackingStorage<S>
fn clone(&self) -> TrackingStorage<S>
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 Storage for TrackingStorage<MemoryStorage>
impl Storage for TrackingStorage<MemoryStorage>
type BlockStore = TrackingStore<MemoryStore>
type KeyValueStore = TrackingStore<MemoryStore>
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<S> Freeze for TrackingStorage<S>where
S: Freeze,
impl<S> RefUnwindSafe for TrackingStorage<S>where
S: RefUnwindSafe,
impl<S> Send for TrackingStorage<S>
impl<S> Sync for TrackingStorage<S>
impl<S> Unpin for TrackingStorage<S>where
S: Unpin,
impl<S> UnwindSafe for TrackingStorage<S>where
S: UnwindSafe,
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