pub enum SecretProvider {
Environment,
File,
Vault,
CloudSecretManager,
KubernetesSecret,
CiSecretStore,
LocalConfig,
Unknown,
}Expand description
Secret provider labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SecretProvider
impl Clone for SecretProvider
Source§fn clone(&self) -> SecretProvider
fn clone(&self) -> SecretProvider
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 SecretProvider
impl Debug for SecretProvider
Source§impl Display for SecretProvider
impl Display for SecretProvider
Source§impl FromStr for SecretProvider
impl FromStr for SecretProvider
Source§type Err = SecretParseError
type Err = SecretParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<SecretProvider, <SecretProvider as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SecretProvider, <SecretProvider as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SecretProvider
impl Hash for SecretProvider
Source§impl Ord for SecretProvider
impl Ord for SecretProvider
Source§fn cmp(&self, other: &SecretProvider) -> Ordering
fn cmp(&self, other: &SecretProvider) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SecretProvider
impl PartialEq for SecretProvider
Source§fn eq(&self, other: &SecretProvider) -> bool
fn eq(&self, other: &SecretProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SecretProvider
impl PartialOrd for SecretProvider
impl Copy for SecretProvider
impl Eq for SecretProvider
impl StructuralPartialEq for SecretProvider
Auto Trait Implementations§
impl Freeze for SecretProvider
impl RefUnwindSafe for SecretProvider
impl Send for SecretProvider
impl Sync for SecretProvider
impl Unpin for SecretProvider
impl UnsafeUnpin for SecretProvider
impl UnwindSafe for SecretProvider
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