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