pub struct InMemoryCredentialStore { /* private fields */ }Expand description
Volatile credential store intended for tests and ephemeral applications.
Trait Implementations§
Source§impl Clone for InMemoryCredentialStore
impl Clone for InMemoryCredentialStore
Source§impl CredentialStore for InMemoryCredentialStore
impl CredentialStore for InMemoryCredentialStore
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<SecretString>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn store<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: &'life2 SecretString,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: '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 list<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl Debug for InMemoryCredentialStore
impl Debug for InMemoryCredentialStore
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryCredentialStore
impl !UnwindSafe for InMemoryCredentialStore
impl Forget for InMemoryCredentialStore
impl Freeze for InMemoryCredentialStore
impl Move for InMemoryCredentialStore
impl Send for InMemoryCredentialStore
impl Sync for InMemoryCredentialStore
impl Unpin for InMemoryCredentialStore
impl UnsafeUnpin for InMemoryCredentialStore
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