pub enum SecretSource {
Keyring,
Env,
}Expand description
Source layer that provided a resolved secret.
Variants§
Keyring
The configured secret-store backend returned the secret.
Env
A process environment variable returned the secret.
Trait Implementations§
Source§impl Clone for SecretSource
impl Clone for SecretSource
Source§fn clone(&self) -> SecretSource
fn clone(&self) -> SecretSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecretSource
impl Debug for SecretSource
Source§impl PartialEq for SecretSource
impl PartialEq for SecretSource
Source§fn eq(&self, other: &SecretSource) -> bool
fn eq(&self, other: &SecretSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SecretSource
impl Eq for SecretSource
impl StructuralPartialEq for SecretSource
Auto Trait Implementations§
impl Freeze for SecretSource
impl RefUnwindSafe for SecretSource
impl Send for SecretSource
impl Sync for SecretSource
impl Unpin for SecretSource
impl UnsafeUnpin for SecretSource
impl UnwindSafe for SecretSource
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