pub enum UnsealError {
CkTap(CkTapError),
Secp256k1(Error),
KeyFromSlice(FromSliceError),
}
Expand description
Errors returned by the unseal
command.
Variants§
Trait Implementations§
Source§impl Clone for UnsealError
impl Clone for UnsealError
Source§fn clone(&self) -> UnsealError
fn clone(&self) -> UnsealError
Returns a duplicate of the value. Read more
1.0.0 · 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 UnsealError
impl Debug for UnsealError
Source§impl Display for UnsealError
impl Display for UnsealError
Source§impl Error for UnsealError
impl Error for UnsealError
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<CkTapError> for UnsealError
impl From<CkTapError> for UnsealError
Source§fn from(source: CkTapError) -> Self
fn from(source: CkTapError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for UnsealError
impl From<Error> for UnsealError
Source§impl From<FromSliceError> for UnsealError
impl From<FromSliceError> for UnsealError
Source§fn from(source: FromSliceError) -> Self
fn from(source: FromSliceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnsealError
impl PartialEq for UnsealError
impl Eq for UnsealError
impl StructuralPartialEq for UnsealError
Auto Trait Implementations§
impl Freeze for UnsealError
impl RefUnwindSafe for UnsealError
impl Send for UnsealError
impl Sync for UnsealError
impl Unpin for UnsealError
impl UnwindSafe for UnsealError
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