pub enum TerminalParseError {
NoKeychain,
InvalidKeychain(ParseIntError),
Index(IndexParseError),
InvalidComponents(String),
}
Variants§
NoKeychain
terminal derivation path must start with keychain index prefixed with ‘&’.
InvalidKeychain(ParseIntError)
keychain index in terminal derivation path is not a number.
Index(IndexParseError)
InvalidComponents(String)
derivation path ‘{0}’ is not a terminal path - terminal path must contain exactly two components.
Trait Implementations§
Source§impl Clone for TerminalParseError
impl Clone for TerminalParseError
Source§fn clone(&self) -> TerminalParseError
fn clone(&self) -> TerminalParseError
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 TerminalParseError
impl Debug for TerminalParseError
Source§impl Display for TerminalParseError
impl Display for TerminalParseError
Source§impl Error for TerminalParseError
impl Error for TerminalParseError
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<IndexParseError> for TerminalParseError
impl From<IndexParseError> for TerminalParseError
Source§fn from(v: IndexParseError) -> Self
fn from(v: IndexParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for TerminalParseError
impl From<ParseIntError> for TerminalParseError
Source§fn from(v: ParseIntError) -> Self
fn from(v: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<TerminalParseError> for DerivedAddrParseError
impl From<TerminalParseError> for DerivedAddrParseError
Source§fn from(v: TerminalParseError) -> Self
fn from(v: TerminalParseError) -> Self
Converts to this type from the input type.
Source§impl From<TerminalParseError> for String
impl From<TerminalParseError> for String
Source§fn from(err: TerminalParseError) -> Self
fn from(err: TerminalParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TerminalParseError
impl PartialEq for TerminalParseError
impl Eq for TerminalParseError
impl StructuralPartialEq for TerminalParseError
Auto Trait Implementations§
impl Freeze for TerminalParseError
impl RefUnwindSafe for TerminalParseError
impl Send for TerminalParseError
impl Sync for TerminalParseError
impl Unpin for TerminalParseError
impl UnwindSafe for TerminalParseError
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.