pub enum AXfrAddressFoldingInstance {
Secp256k1(AXfrAddressFoldingInstanceSecp256k1),
Ed25519(AXfrAddressFoldingInstanceEd25519),
}Expand description
The address folding instance.
Variants§
Secp256k1(AXfrAddressFoldingInstanceSecp256k1)
The Secp256k1 address folding instance.
Ed25519(AXfrAddressFoldingInstanceEd25519)
The Ed25519 address folding instance.
Trait Implementations§
source§impl Clone for AXfrAddressFoldingInstance
impl Clone for AXfrAddressFoldingInstance
source§fn clone(&self) -> AXfrAddressFoldingInstance
fn clone(&self) -> AXfrAddressFoldingInstance
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 AXfrAddressFoldingInstance
impl Debug for AXfrAddressFoldingInstance
source§impl<'de> Deserialize<'de> for AXfrAddressFoldingInstance
impl<'de> Deserialize<'de> for AXfrAddressFoldingInstance
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 PartialEq<AXfrAddressFoldingInstance> for AXfrAddressFoldingInstance
impl PartialEq<AXfrAddressFoldingInstance> for AXfrAddressFoldingInstance
source§fn eq(&self, other: &AXfrAddressFoldingInstance) -> bool
fn eq(&self, other: &AXfrAddressFoldingInstance) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AXfrAddressFoldingInstance
impl StructuralEq for AXfrAddressFoldingInstance
impl StructuralPartialEq for AXfrAddressFoldingInstance
Auto Trait Implementations§
impl RefUnwindSafe for AXfrAddressFoldingInstance
impl Send for AXfrAddressFoldingInstance
impl Sync for AXfrAddressFoldingInstance
impl Unpin for AXfrAddressFoldingInstance
impl UnwindSafe for AXfrAddressFoldingInstance
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more