pub struct UnsupportedDigest {
pub signing_algo: SigningAlgo,
pub digest_algo: DigestAlgo,
}Expand description
An error returned when either SigningKey or VerifyingKey is constructed with unsupported
signing and digest algorithm pair.
Fields§
§signing_algo: SigningAlgoThe signing algorithm.
digest_algo: DigestAlgoThe digest algorithm.
Trait Implementations§
Source§impl Clone for UnsupportedDigest
impl Clone for UnsupportedDigest
Source§fn clone(&self) -> UnsupportedDigest
fn clone(&self) -> UnsupportedDigest
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 UnsupportedDigest
impl Debug for UnsupportedDigest
Source§impl Display for UnsupportedDigest
impl Display for UnsupportedDigest
Source§impl Error for UnsupportedDigest
impl Error for UnsupportedDigest
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 UnsupportedDigest
impl RefUnwindSafe for UnsupportedDigest
impl Send for UnsupportedDigest
impl Sync for UnsupportedDigest
impl Unpin for UnsupportedDigest
impl UnsafeUnpin for UnsupportedDigest
impl UnwindSafe for UnsupportedDigest
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