#[non_exhaustive]pub enum SecretsBootstrapError {
Show 18 variants
NotInitialized,
AlreadyInitialized,
ProfileNotInitialized,
FileNotFound {
path: String,
},
InvalidSecretsFile(SecretsError),
DocumentEncode(Error),
NoSecretsConfigured,
SecretsConfigInvalid(ProfileError),
VaultBlockMissing,
Vault(VaultError),
OauthAtRestPepperRequired,
DatabaseUrlRequired,
ManifestSeedRequired,
SigningKeyPemRequired,
ManifestSeedInvalid(KeyMaterialError),
EncryptionMasterKeyRequired,
EncryptionMasterKeyInvalid(KeyMaterialError),
SigningKeyPemInvalid(KeyMaterialError),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotInitialized
AlreadyInitialized
ProfileNotInitialized
FileNotFound
InvalidSecretsFile(SecretsError)
DocumentEncode(Error)
NoSecretsConfigured
SecretsConfigInvalid(ProfileError)
VaultBlockMissing
Vault(VaultError)
OauthAtRestPepperRequired
DatabaseUrlRequired
ManifestSeedRequired
SigningKeyPemRequired
ManifestSeedInvalid(KeyMaterialError)
EncryptionMasterKeyRequired
EncryptionMasterKeyInvalid(KeyMaterialError)
SigningKeyPemInvalid(KeyMaterialError)
Trait Implementations§
Source§impl Debug for SecretsBootstrapError
impl Debug for SecretsBootstrapError
Source§impl Display for SecretsBootstrapError
impl Display for SecretsBootstrapError
Source§impl Error for SecretsBootstrapError
impl Error for SecretsBootstrapError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<SecretsBootstrapError> for ConfigError
impl From<SecretsBootstrapError> for ConfigError
Source§fn from(source: SecretsBootstrapError) -> Self
fn from(source: SecretsBootstrapError) -> Self
Converts to this type from the input type.
Source§impl From<VaultError> for SecretsBootstrapError
impl From<VaultError> for SecretsBootstrapError
Source§fn from(source: VaultError) -> Self
fn from(source: VaultError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SecretsBootstrapError
impl !UnwindSafe for SecretsBootstrapError
impl Freeze for SecretsBootstrapError
impl Send for SecretsBootstrapError
impl Sync for SecretsBootstrapError
impl Unpin for SecretsBootstrapError
impl UnsafeUnpin for SecretsBootstrapError
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