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()