pub enum SchnorrAlgorithm {
Bip340secp256k1,
Ed25519,
}
Expand description
Schnorr Algorithm.
Variants§
Trait Implementations§
Source§impl CandidType for SchnorrAlgorithm
impl CandidType for SchnorrAlgorithm
Source§impl Clone for SchnorrAlgorithm
impl Clone for SchnorrAlgorithm
Source§fn clone(&self) -> SchnorrAlgorithm
fn clone(&self) -> SchnorrAlgorithm
Returns a copy 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 SchnorrAlgorithm
impl Debug for SchnorrAlgorithm
Source§impl Default for SchnorrAlgorithm
impl Default for SchnorrAlgorithm
Source§fn default() -> SchnorrAlgorithm
fn default() -> SchnorrAlgorithm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchnorrAlgorithm
impl<'de> Deserialize<'de> for SchnorrAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SchnorrAlgorithm
impl Hash for SchnorrAlgorithm
Source§impl Ord for SchnorrAlgorithm
impl Ord for SchnorrAlgorithm
Source§fn cmp(&self, other: &SchnorrAlgorithm) -> Ordering
fn cmp(&self, other: &SchnorrAlgorithm) -> 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 SchnorrAlgorithm
impl PartialEq for SchnorrAlgorithm
Source§impl PartialOrd for SchnorrAlgorithm
impl PartialOrd for SchnorrAlgorithm
Source§impl Serialize for SchnorrAlgorithm
impl Serialize for SchnorrAlgorithm
impl Copy for SchnorrAlgorithm
impl Eq for SchnorrAlgorithm
impl StructuralPartialEq for SchnorrAlgorithm
Auto Trait Implementations§
impl Freeze for SchnorrAlgorithm
impl RefUnwindSafe for SchnorrAlgorithm
impl Send for SchnorrAlgorithm
impl Sync for SchnorrAlgorithm
impl Unpin for SchnorrAlgorithm
impl UnwindSafe for SchnorrAlgorithm
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)