pub struct InvalidPublicKey;Expand description
Error indicating that a public key is invalid.
Trait Implementations§
Source§impl Clone for InvalidPublicKey
impl Clone for InvalidPublicKey
Source§fn clone(&self) -> InvalidPublicKey
fn clone(&self) -> InvalidPublicKey
Returns a duplicate 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 InvalidPublicKey
impl Debug for InvalidPublicKey
Source§impl Display for InvalidPublicKey
impl Display for InvalidPublicKey
Source§impl Error for InvalidPublicKey
impl Error for InvalidPublicKey
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()
impl Copy for InvalidPublicKey
Auto Trait Implementations§
impl Freeze for InvalidPublicKey
impl RefUnwindSafe for InvalidPublicKey
impl Send for InvalidPublicKey
impl Sync for InvalidPublicKey
impl Unpin for InvalidPublicKey
impl UnwindSafe for InvalidPublicKey
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