pub enum SchnorrAlgorithm {
Bip340secp256k1,
Ed25519,
}๐Deprecated since 0.18.0: The
api::management_canister::schnorr module is deprecated. Please use the management_canister module at the crate root.Expand description
Schnorr Algorithm.
Variantsยง
Bip340secp256k1
๐Deprecated since 0.18.0: The
api::management_canister::schnorr module is deprecated. Please use the management_canister module at the crate root.BIP-340 secp256k1.
Ed25519
๐Deprecated since 0.18.0: The
api::management_canister::schnorr module is deprecated. Please use the management_canister module at the crate root.ed25519.
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