Enum chain_crypto::PublicKeyError
source · pub enum PublicKeyError {
SizeInvalid,
StructureInvalid,
}
Variants§
Trait Implementations§
source§impl Clone for PublicKeyError
impl Clone for PublicKeyError
source§fn clone(&self) -> PublicKeyError
fn clone(&self) -> PublicKeyError
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 PublicKeyError
impl Debug for PublicKeyError
source§impl Display for PublicKeyError
impl Display for PublicKeyError
source§impl Error for PublicKeyError
impl Error for PublicKeyError
1.30.0 · 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 From<PublicKeyError> for PublicKeyError
impl From<PublicKeyError> for PublicKeyError
source§impl PartialEq<PublicKeyError> for PublicKeyError
impl PartialEq<PublicKeyError> for PublicKeyError
source§fn eq(&self, other: &PublicKeyError) -> bool
fn eq(&self, other: &PublicKeyError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PublicKeyError
impl Eq for PublicKeyError
impl StructuralEq for PublicKeyError
impl StructuralPartialEq for PublicKeyError
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyError
impl Send for PublicKeyError
impl Sync for PublicKeyError
impl Unpin for PublicKeyError
impl UnwindSafe for PublicKeyError
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