#[repr(i32)]pub enum SignatureScheme {
Schnorr = 0,
Ecdsa = 1,
}
Expand description
Supported signature schemes. Default is Schnorr, but can be ECDSA.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SignatureScheme
impl Clone for SignatureScheme
Source§fn clone(&self) -> SignatureScheme
fn clone(&self) -> SignatureScheme
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 SignatureScheme
impl Debug for SignatureScheme
Source§impl Default for SignatureScheme
impl Default for SignatureScheme
Source§fn default() -> SignatureScheme
fn default() -> SignatureScheme
Returns the “default value” for a type. Read more
Source§impl Hash for SignatureScheme
impl Hash for SignatureScheme
Source§impl Ord for SignatureScheme
impl Ord for SignatureScheme
Source§fn cmp(&self, other: &SignatureScheme) -> Ordering
fn cmp(&self, other: &SignatureScheme) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SignatureScheme
impl PartialEq for SignatureScheme
Source§impl PartialOrd for SignatureScheme
impl PartialOrd for SignatureScheme
impl Copy for SignatureScheme
impl Eq for SignatureScheme
impl StructuralPartialEq for SignatureScheme
Auto Trait Implementations§
impl Freeze for SignatureScheme
impl RefUnwindSafe for SignatureScheme
impl Send for SignatureScheme
impl Sync for SignatureScheme
impl Unpin for SignatureScheme
impl UnwindSafe for SignatureScheme
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