pub enum PublicKeyFromStrError {
HexMalformed(FromHexError),
KeyInvalid(PublicKeyError),
}
Variants§
HexMalformed(FromHexError)
KeyInvalid(PublicKeyError)
Trait Implementations§
source§impl Clone for PublicKeyFromStrError
impl Clone for PublicKeyFromStrError
source§fn clone(&self) -> PublicKeyFromStrError
fn clone(&self) -> PublicKeyFromStrError
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 PublicKeyFromStrError
impl Debug for PublicKeyFromStrError
source§impl Display for PublicKeyFromStrError
impl Display for PublicKeyFromStrError
source§impl Error for PublicKeyFromStrError
impl Error for PublicKeyFromStrError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<PublicKeyFromStrError> for PublicKeyFromStrError
impl PartialEq<PublicKeyFromStrError> for PublicKeyFromStrError
source§fn eq(&self, other: &PublicKeyFromStrError) -> bool
fn eq(&self, other: &PublicKeyFromStrError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublicKeyFromStrError
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyFromStrError
impl Send for PublicKeyFromStrError
impl Sync for PublicKeyFromStrError
impl Unpin for PublicKeyFromStrError
impl UnwindSafe for PublicKeyFromStrError
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