pub enum SecretSourceKind {
Store,
Env,
File,
}Expand description
Which source a SecretRef points at, independent of the data
inside. Used by audit logging so the logger never sees the path or
env-var name (which can themselves be revealing).
Variants§
Store
The ref points at an entry in the host secret store.
Env
The ref points at a host environment variable.
File
The ref points at a host file path.
Implementations§
Trait Implementations§
Source§impl Clone for SecretSourceKind
impl Clone for SecretSourceKind
Source§fn clone(&self) -> SecretSourceKind
fn clone(&self) -> SecretSourceKind
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 moreimpl Copy for SecretSourceKind
Source§impl Debug for SecretSourceKind
impl Debug for SecretSourceKind
impl Eq for SecretSourceKind
Source§impl PartialEq for SecretSourceKind
impl PartialEq for SecretSourceKind
Source§fn eq(&self, other: &SecretSourceKind) -> bool
fn eq(&self, other: &SecretSourceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecretSourceKind
Auto Trait Implementations§
impl Freeze for SecretSourceKind
impl RefUnwindSafe for SecretSourceKind
impl Send for SecretSourceKind
impl Sync for SecretSourceKind
impl Unpin for SecretSourceKind
impl UnsafeUnpin for SecretSourceKind
impl UnwindSafe for SecretSourceKind
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