pub enum KeyProviderError {
KekNotFound(String),
CreationFailed(String),
NoActiveKek,
WrapFailed(String),
UnwrapFailed(String),
PepperUnavailable(String),
Io(Error),
}Expand description
Errors specific to key provider operations.
Variants§
KekNotFound(String)
KEK not found
CreationFailed(String)
KEK creation failed
NoActiveKek
No active KEK configured
WrapFailed(String)
DEK wrapping failed
UnwrapFailed(String)
DEK unwrapping failed
Pepper not available
Io(Error)
I/O operation failed
Trait Implementations§
Source§impl Debug for KeyProviderError
impl Debug for KeyProviderError
Source§impl Display for KeyProviderError
impl Display for KeyProviderError
Source§impl Error for KeyProviderError
impl Error for KeyProviderError
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<Error> for KeyProviderError
impl From<Error> for KeyProviderError
Source§impl From<KeyProviderError> for Error
impl From<KeyProviderError> for Error
Source§fn from(source: KeyProviderError) -> Self
fn from(source: KeyProviderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyProviderError
impl !RefUnwindSafe for KeyProviderError
impl Send for KeyProviderError
impl Sync for KeyProviderError
impl Unpin for KeyProviderError
impl !UnwindSafe for KeyProviderError
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