pub enum DumpError {
CkTap(CkTapError),
Secp256k1(Error),
KeyFromSlice(FromSliceError),
SlotSealed(u8),
SlotUnused(u8),
SlotTampered(u8),
}
Expand description
Errors returned by the dump
command.
Variants§
CkTap(CkTapError)
Secp256k1(Error)
KeyFromSlice(FromSliceError)
SlotSealed(u8)
SlotUnused(u8)
SlotTampered(u8)
If the slot was unsealed due to confusion or uncertainty about its status.
In other words, if the card unsealed itself rather than via a
successful unseal
command.
Trait Implementations§
Source§impl Error for DumpError
impl Error for DumpError
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 DumpError
impl From<CkTapError> for DumpError
Source§fn from(source: CkTapError) -> Self
fn from(source: CkTapError) -> Self
Converts to this type from the input type.
Source§impl From<FromSliceError> for DumpError
impl From<FromSliceError> for DumpError
Source§fn from(source: FromSliceError) -> Self
fn from(source: FromSliceError) -> Self
Converts to this type from the input type.
impl Eq for DumpError
impl StructuralPartialEq for DumpError
Auto Trait Implementations§
impl Freeze for DumpError
impl RefUnwindSafe for DumpError
impl Send for DumpError
impl Sync for DumpError
impl Unpin for DumpError
impl UnwindSafe for DumpError
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