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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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<SchnorrAlgorithm, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchnorrAlgorithm, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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