Struct noosphere_storage::NativeStorage
source · pub struct NativeStorage { /* private fields */ }Implementations§
source§impl NativeStorage
impl NativeStorage
pub fn new(init: NativeStorageInit) -> Result<Self>
Trait Implementations§
source§impl Clone for NativeStorage
impl Clone for NativeStorage
source§fn clone(&self) -> NativeStorage
fn clone(&self) -> NativeStorage
Returns a copy 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 Debug for NativeStorage
impl Debug for NativeStorage
source§impl Storage for NativeStorage
impl Storage for NativeStorage
type BlockStore = NativeStore
type KeyValueStore = NativeStore
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 !RefUnwindSafe for NativeStorage
impl Send for NativeStorage
impl Sync for NativeStorage
impl Unpin for NativeStorage
impl !UnwindSafe for NativeStorage
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