pub enum PubkeyParseError<const LEN: usize> {
Hex(Error),
InvalidPubkey(InvalidPubkey<LEN>),
}
Variants§
Hex(Error)
InvalidPubkey(InvalidPubkey<LEN>)
Trait Implementations§
Source§impl<const LEN: usize> Clone for PubkeyParseError<LEN>
impl<const LEN: usize> Clone for PubkeyParseError<LEN>
Source§fn clone(&self) -> PubkeyParseError<LEN>
fn clone(&self) -> PubkeyParseError<LEN>
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<const LEN: usize> Debug for PubkeyParseError<LEN>
impl<const LEN: usize> Debug for PubkeyParseError<LEN>
Source§impl<const LEN: usize> Display for PubkeyParseError<LEN>
impl<const LEN: usize> Display for PubkeyParseError<LEN>
Source§impl<const LEN: usize> Error for PubkeyParseError<LEN>
impl<const LEN: usize> Error for PubkeyParseError<LEN>
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<const LEN: usize> From<InvalidPubkey<LEN>> for PubkeyParseError<LEN>
impl<const LEN: usize> From<InvalidPubkey<LEN>> for PubkeyParseError<LEN>
Source§fn from(v: InvalidPubkey<LEN>) -> Self
fn from(v: InvalidPubkey<LEN>) -> Self
Converts to this type from the input type.
Source§impl<const LEN: usize> From<PubkeyParseError<LEN>> for String
impl<const LEN: usize> From<PubkeyParseError<LEN>> for String
Source§fn from(err: PubkeyParseError<LEN>) -> Self
fn from(err: PubkeyParseError<LEN>) -> Self
Converts to this type from the input type.
Source§impl<const LEN: usize> PartialEq for PubkeyParseError<LEN>
impl<const LEN: usize> PartialEq for PubkeyParseError<LEN>
impl<const LEN: usize> Eq for PubkeyParseError<LEN>
impl<const LEN: usize> StructuralPartialEq for PubkeyParseError<LEN>
Auto Trait Implementations§
impl<const LEN: usize> Freeze for PubkeyParseError<LEN>
impl<const LEN: usize> RefUnwindSafe for PubkeyParseError<LEN>
impl<const LEN: usize> Send for PubkeyParseError<LEN>
impl<const LEN: usize> Sync for PubkeyParseError<LEN>
impl<const LEN: usize> Unpin for PubkeyParseError<LEN>
impl<const LEN: usize> UnwindSafe for PubkeyParseError<LEN>
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.