pub enum EcdsaP256Error {
InvalidKey(String),
InvalidSignature(String),
}Expand description
Errors from ECDSA P-256 operations.
Variants§
InvalidKey(String)
Invalid DER-encoded public key.
InvalidSignature(String)
Invalid DER-encoded signature.
Trait Implementations§
Source§impl Clone for EcdsaP256Error
impl Clone for EcdsaP256Error
Source§fn clone(&self) -> EcdsaP256Error
fn clone(&self) -> EcdsaP256Error
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EcdsaP256Error
impl Debug for EcdsaP256Error
Source§impl Display for EcdsaP256Error
impl Display for EcdsaP256Error
Source§impl Error for EcdsaP256Error
impl Error for EcdsaP256Error
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()
Auto Trait Implementations§
impl Freeze for EcdsaP256Error
impl RefUnwindSafe for EcdsaP256Error
impl Send for EcdsaP256Error
impl Sync for EcdsaP256Error
impl Unpin for EcdsaP256Error
impl UnsafeUnpin for EcdsaP256Error
impl UnwindSafe for EcdsaP256Error
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