pub struct RustSdkCryptoStorageProvider { /* private fields */ }Implementations§
Source§impl RustSdkCryptoStorageProvider
impl RustSdkCryptoStorageProvider
pub fn new(inner: Arc<dyn IStorageProvider>) -> Self
Trait Implementations§
Source§impl Clone for RustSdkCryptoStorageProvider
impl Clone for RustSdkCryptoStorageProvider
Source§fn clone(&self) -> RustSdkCryptoStorageProvider
fn clone(&self) -> RustSdkCryptoStorageProvider
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 ICryptoStorageProvider for RustSdkCryptoStorageProvider
impl ICryptoStorageProvider for RustSdkCryptoStorageProvider
fn store_session_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
room_id: &'life1 str,
session_key: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn session_key<'life0, 'life1, 'async_trait>(
&'life0 self,
room_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl IStorageProvider for RustSdkCryptoStorageProvider
impl IStorageProvider for RustSdkCryptoStorageProvider
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn set<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: Value,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn keys<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for RustSdkCryptoStorageProvider
impl !RefUnwindSafe for RustSdkCryptoStorageProvider
impl Send for RustSdkCryptoStorageProvider
impl Sync for RustSdkCryptoStorageProvider
impl Unpin for RustSdkCryptoStorageProvider
impl UnsafeUnpin for RustSdkCryptoStorageProvider
impl !UnwindSafe for RustSdkCryptoStorageProvider
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