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