pub enum EnvVaultError {
Show 25 variants
EncryptionFailed(String),
DecryptionFailed,
KeyDerivationFailed(String),
VaultNotFound(PathBuf),
VaultAlreadyExists(PathBuf),
InvalidVaultFormat(String),
HmacMismatch,
HmacError(String),
SecretNotFound(String),
SecretAlreadyExists(String),
KeyfileError(String),
KeyringError(String),
ConfigError(String),
Io(Error),
SerializationError(String),
CommandFailed(String),
UserCancelled,
PasswordMismatch,
ChildProcessFailed(i32),
NoCommandSpecified,
AuditError(String),
EditorError(String),
EnvironmentNotFound(String),
ClipboardError(String),
CommandNotAllowed(String),
}Expand description
All errors that can occur in EnvVault.
Variants§
EncryptionFailed(String)
DecryptionFailed
KeyDerivationFailed(String)
VaultNotFound(PathBuf)
VaultAlreadyExists(PathBuf)
InvalidVaultFormat(String)
HmacMismatch
HmacError(String)
SecretNotFound(String)
SecretAlreadyExists(String)
KeyfileError(String)
KeyringError(String)
ConfigError(String)
Io(Error)
SerializationError(String)
CommandFailed(String)
UserCancelled
PasswordMismatch
ChildProcessFailed(i32)
NoCommandSpecified
AuditError(String)
EditorError(String)
EnvironmentNotFound(String)
ClipboardError(String)
CommandNotAllowed(String)
Trait Implementations§
Source§impl Debug for EnvVaultError
impl Debug for EnvVaultError
Source§impl Display for EnvVaultError
impl Display for EnvVaultError
Source§impl Error for EnvVaultError
impl Error for EnvVaultError
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()
Auto Trait Implementations§
impl Freeze for EnvVaultError
impl !RefUnwindSafe for EnvVaultError
impl Send for EnvVaultError
impl Sync for EnvVaultError
impl Unpin for EnvVaultError
impl UnsafeUnpin for EnvVaultError
impl !UnwindSafe for EnvVaultError
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