#[repr(u8)]pub enum PropertyProofType {
Mock = 0,
Groth16 = 1,
Plonk = 2,
ThresholdSignature = 3,
MerkleInclusion = 4,
}Expand description
Proof type (SRC-806 compatible)
Variants§
Mock = 0
Mock proof (for testing)
Groth16 = 1
Groth16 ZK-SNARK
Plonk = 2
PLONK proof
ThresholdSignature = 3
Threshold signature proof
MerkleInclusion = 4
Merkle inclusion proof
Trait Implementations§
Source§impl Clone for PropertyProofType
impl Clone for PropertyProofType
Source§fn clone(&self) -> PropertyProofType
fn clone(&self) -> PropertyProofType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PropertyProofType
impl Debug for PropertyProofType
Source§impl<'de> Deserialize<'de> for PropertyProofType
impl<'de> Deserialize<'de> for PropertyProofType
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 for PropertyProofType
impl PartialEq for PropertyProofType
Source§fn eq(&self, other: &PropertyProofType) -> bool
fn eq(&self, other: &PropertyProofType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PropertyProofType
impl Serialize for PropertyProofType
impl Copy for PropertyProofType
impl Eq for PropertyProofType
impl StructuralPartialEq for PropertyProofType
Auto Trait Implementations§
impl Freeze for PropertyProofType
impl RefUnwindSafe for PropertyProofType
impl Send for PropertyProofType
impl Sync for PropertyProofType
impl Unpin for PropertyProofType
impl UnsafeUnpin for PropertyProofType
impl UnwindSafe for PropertyProofType
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