pub struct FallbackSecretStore { /* private fields */ }Expand description
Tries a writable primary (keychain), falling back to a read-only secondary (env).
Implementations§
Source§impl FallbackSecretStore
impl FallbackSecretStore
pub fn new( primary: Box<dyn SecretStore>, fallback: Box<dyn SecretStore>, ) -> Self
Trait Implementations§
Source§impl SecretStore for FallbackSecretStore
impl SecretStore for FallbackSecretStore
Auto Trait Implementations§
impl !RefUnwindSafe for FallbackSecretStore
impl !UnwindSafe for FallbackSecretStore
impl Freeze for FallbackSecretStore
impl Send for FallbackSecretStore
impl Sync for FallbackSecretStore
impl Unpin for FallbackSecretStore
impl UnsafeUnpin for FallbackSecretStore
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