pub struct InMemoryKeyringStore { /* private fields */ }Expand description
Implementations§
Trait Implementations§
Source§impl Debug for InMemoryKeyringStore
impl Debug for InMemoryKeyringStore
Source§impl Default for InMemoryKeyringStore
impl Default for InMemoryKeyringStore
Source§fn default() -> InMemoryKeyringStore
fn default() -> InMemoryKeyringStore
Returns the “default value” for a type. Read more
Source§impl KeyringStore for InMemoryKeyringStore
impl KeyringStore for InMemoryKeyringStore
Source§fn get(&self, key: &str) -> Result<Option<String>, SecretsError>
fn get(&self, key: &str) -> Result<Option<String>, SecretsError>
Read a secret by key. Read more
Source§fn set(&self, key: &str, value: &str) -> Result<(), SecretsError>
fn set(&self, key: &str, value: &str) -> Result<(), SecretsError>
Write a secret, replacing any existing value for the same key. Read more
Source§fn backend_name(&self) -> &'static str
fn backend_name(&self) -> &'static str
Short, human-readable label for this backend. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryKeyringStore
impl RefUnwindSafe for InMemoryKeyringStore
impl Send for InMemoryKeyringStore
impl Sync for InMemoryKeyringStore
impl Unpin for InMemoryKeyringStore
impl UnsafeUnpin for InMemoryKeyringStore
impl UnwindSafe for InMemoryKeyringStore
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