pub enum XkeyAccountError {
DepthMismatch,
ParentMismatch,
MasterMismatch,
TooManyKeychains,
}
Variants§
DepthMismatch
mismatch between extended key depth and length of the derivation path in the key origin information.
ParentMismatch
extended key child derivation index does not match the last derivation index in the provided origin information.
MasterMismatch
extended key has derivation depth 1, but its parent fingerprint does not match the provided master key fingerprint.
TooManyKeychains
attempt to create an extended key account with too many derivation indexes in the keychain segment.
Trait Implementations§
Source§impl Clone for XkeyAccountError
impl Clone for XkeyAccountError
Source§fn clone(&self) -> XkeyAccountError
fn clone(&self) -> XkeyAccountError
Returns a copy 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 XkeyAccountError
impl Debug for XkeyAccountError
Source§impl Display for XkeyAccountError
impl Display for XkeyAccountError
Source§impl Error for XkeyAccountError
impl Error for XkeyAccountError
1.30.0 · 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<XkeyAccountError> for XkeyParseError
impl From<XkeyAccountError> for XkeyParseError
Source§fn from(v: XkeyAccountError) -> XkeyParseError
fn from(v: XkeyAccountError) -> XkeyParseError
Converts to this type from the input type.
Source§impl Hash for XkeyAccountError
impl Hash for XkeyAccountError
Source§impl PartialEq for XkeyAccountError
impl PartialEq for XkeyAccountError
impl Copy for XkeyAccountError
impl Eq for XkeyAccountError
impl StructuralPartialEq for XkeyAccountError
Auto Trait Implementations§
impl Freeze for XkeyAccountError
impl RefUnwindSafe for XkeyAccountError
impl Send for XkeyAccountError
impl Sync for XkeyAccountError
impl Unpin for XkeyAccountError
impl UnwindSafe for XkeyAccountError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.