pub enum BarrierError {
Sealed,
Crypto(CryptoError),
Storage(StorageError),
}Expand description
Errors from the encryption barrier.
Variants§
Sealed
The vault is sealed — no operations are possible until unseal.
Crypto(CryptoError)
A cryptographic operation within the barrier failed.
Storage(StorageError)
The underlying storage backend returned an error.
Trait Implementations§
Source§impl Debug for BarrierError
impl Debug for BarrierError
Source§impl Display for BarrierError
impl Display for BarrierError
Source§impl Error for BarrierError
impl Error for BarrierError
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<BarrierError> for AppRoleError
impl From<BarrierError> for AppRoleError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for DatabaseError
impl From<BarrierError> for DatabaseError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for EngineError
impl From<BarrierError> for EngineError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for LeaseError
impl From<BarrierError> for LeaseError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for MountError
impl From<BarrierError> for MountError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for PkiError
impl From<BarrierError> for PkiError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for PolicyError
impl From<BarrierError> for PolicyError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for SealError
impl From<BarrierError> for SealError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<BarrierError> for TokenError
impl From<BarrierError> for TokenError
Source§fn from(source: BarrierError) -> Self
fn from(source: BarrierError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoError> for BarrierError
impl From<CryptoError> for BarrierError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for BarrierError
impl From<StorageError> for BarrierError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BarrierError
impl RefUnwindSafe for BarrierError
impl Send for BarrierError
impl Sync for BarrierError
impl Unpin for BarrierError
impl UnwindSafe for BarrierError
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