pub struct RemoteVaultScope<'a> { /* private fields */ }Trait Implementations§
Source§impl<'a> VaultScope for RemoteVaultScope<'a>
impl<'a> VaultScope for RemoteVaultScope<'a>
Source§fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Retrieves and decrypts a value from the scoped app.
Source§fn set<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
plaintext: &'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 set<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
plaintext: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Encrypts and stores a plaintext string in the scoped app.
Auto Trait Implementations§
impl<'a> Freeze for RemoteVaultScope<'a>
impl<'a> !RefUnwindSafe for RemoteVaultScope<'a>
impl<'a> Send for RemoteVaultScope<'a>
impl<'a> Sync for RemoteVaultScope<'a>
impl<'a> Unpin for RemoteVaultScope<'a>
impl<'a> !UnwindSafe for RemoteVaultScope<'a>
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