pub struct InMemoryCredentialsStore { /* private fields */ }Expand description
An in-memory CredentialsStore backed by an RwLock<HashMap>.
Suitable for single-process deployments. Credentials are lost when the process exits.
Implementations§
Source§impl InMemoryCredentialsStore
impl InMemoryCredentialsStore
Sourcepub fn new() -> InMemoryCredentialsStore
pub fn new() -> InMemoryCredentialsStore
Creates an empty credential store.
Trait Implementations§
Source§impl CredentialsStore for InMemoryCredentialsStore
impl CredentialsStore for InMemoryCredentialsStore
Source§impl Debug for InMemoryCredentialsStore
impl Debug for InMemoryCredentialsStore
Source§impl Default for InMemoryCredentialsStore
impl Default for InMemoryCredentialsStore
Source§fn default() -> InMemoryCredentialsStore
fn default() -> InMemoryCredentialsStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryCredentialsStore
impl RefUnwindSafe for InMemoryCredentialsStore
impl Send for InMemoryCredentialsStore
impl Sync for InMemoryCredentialsStore
impl Unpin for InMemoryCredentialsStore
impl UnsafeUnpin for InMemoryCredentialsStore
impl UnwindSafe for InMemoryCredentialsStore
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