pub enum AnyES256K {
ES256K,
ES256KR,
}Expand description
ECDSA using secp256k1 (K-256) and SHA-256, with or without recovery bit.
Variants§
ES256K
ECDSA using secp256k1 (K-256) and SHA-256, without recovery bit.
ES256KR
ECDSA using secp256k1 (K-256) and SHA-256, with recovery bit.
Trait Implementations§
Source§impl Ord for AnyES256K
impl Ord for AnyES256K
Source§impl PartialOrd for AnyES256K
impl PartialOrd for AnyES256K
impl Copy for AnyES256K
impl Eq for AnyES256K
impl StructuralPartialEq for AnyES256K
Auto Trait Implementations§
impl Freeze for AnyES256K
impl RefUnwindSafe for AnyES256K
impl Send for AnyES256K
impl Sync for AnyES256K
impl Unpin for AnyES256K
impl UnwindSafe for AnyES256K
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more