pub enum StatementProof<E: Pairing> {
Show 36 variants
PoKBBSSignatureG1(PoKOfSignatureG1Proof<E>),
VBAccumulatorMembership(MembershipProof<E>),
VBAccumulatorNonMembership(NonMembershipProof<E>),
PedersenCommitment(PedersenCommitmentProof<E::G1Affine>),
Saver(SaverProof<E>),
BoundCheckLegoGroth16(BoundCheckLegoGroth16Proof<E>),
R1CSLegoGroth16(R1CSLegoGroth16Proof<E>),
SaverWithAggregation(SaverProofWhenAggregatingSnarks<E>),
BoundCheckLegoGroth16WithAggregation(BoundCheckLegoGroth16ProofWhenAggregatingSnarks<E>),
R1CSLegoGroth16WithAggregation(R1CSLegoGroth16ProofWhenAggregatingSnarks<E>),
PoKPSSignature(SignaturePoK<E>),
PoKBBSSignature23G1(PoKOfSignature23G1Proof<E>),
BoundCheckBpp(BoundCheckBppProof<E::G1Affine>),
BoundCheckSmc(BoundCheckSmcProof<E>),
BoundCheckSmcWithKV(BoundCheckSmcWithKVProof<E::G1Affine>),
Inequality(InequalityProof<E::G1Affine>),
DetachedAccumulatorMembership(DetachedAccumulatorMembershipProof<E>),
DetachedAccumulatorNonMembership(DetachedAccumulatorNonMembershipProof<E>),
KBUniversalAccumulatorMembership(KBUniversalAccumulatorMembershipProof<E>),
KBUniversalAccumulatorNonMembership(KBUniversalAccumulatorNonMembershipProof<E>),
VBAccumulatorMembershipCDH(MembershipProof<E>),
VBAccumulatorNonMembershipCDH(NonMembershipProof<E>),
KBUniversalAccumulatorMembershipCDH(KBUniversalAccumulatorMembershipProof<E>),
KBUniversalAccumulatorNonMembershipCDH(KBUniversalAccumulatorNonMembershipProof<E>),
KBPositiveAccumulatorMembership(KBPositiveAccumulatorMembershipProof<E>),
KBPositiveAccumulatorMembershipCDH(KBPositiveAccumulatorMembershipProof<E>),
PoKOfBBDT16MAC(PoKOfMAC<E::G1Affine>),
PedersenCommitmentG2(PedersenCommitmentProof<E::G2Affine>),
VBAccumulatorMembershipKV(MembershipProof<E::G1Affine>),
KBUniversalAccumulatorMembershipKV(KBUniversalAccumulatorMembershipProof<E::G1Affine>),
KBUniversalAccumulatorNonMembershipKV(KBUniversalAccumulatorNonMembershipProof<E::G1Affine>),
PoKBBSSignature23IETFG1(PoKOfSignature23G1Proof<E>),
PedersenCommitmentPartial(PedersenCommitmentPartialProof<E::G1Affine>),
PedersenCommitmentG2Partial(PedersenCommitmentPartialProof<E::G2Affine>),
VeTZ21(VeTZ21Proof<E::G1Affine>),
VeTZ21Robust(VeTZ21RobustProof<E::G1Affine>),
}Expand description
Proof corresponding to one Statement
Variants§
PoKBBSSignatureG1(PoKOfSignatureG1Proof<E>)
VBAccumulatorMembership(MembershipProof<E>)
VBAccumulatorNonMembership(NonMembershipProof<E>)
PedersenCommitment(PedersenCommitmentProof<E::G1Affine>)
Saver(SaverProof<E>)
BoundCheckLegoGroth16(BoundCheckLegoGroth16Proof<E>)
R1CSLegoGroth16(R1CSLegoGroth16Proof<E>)
SaverWithAggregation(SaverProofWhenAggregatingSnarks<E>)
BoundCheckLegoGroth16WithAggregation(BoundCheckLegoGroth16ProofWhenAggregatingSnarks<E>)
R1CSLegoGroth16WithAggregation(R1CSLegoGroth16ProofWhenAggregatingSnarks<E>)
PoKPSSignature(SignaturePoK<E>)
PoKBBSSignature23G1(PoKOfSignature23G1Proof<E>)
BoundCheckBpp(BoundCheckBppProof<E::G1Affine>)
BoundCheckSmc(BoundCheckSmcProof<E>)
BoundCheckSmcWithKV(BoundCheckSmcWithKVProof<E::G1Affine>)
Inequality(InequalityProof<E::G1Affine>)
DetachedAccumulatorMembership(DetachedAccumulatorMembershipProof<E>)
DetachedAccumulatorNonMembership(DetachedAccumulatorNonMembershipProof<E>)
KBUniversalAccumulatorMembership(KBUniversalAccumulatorMembershipProof<E>)
KBUniversalAccumulatorNonMembership(KBUniversalAccumulatorNonMembershipProof<E>)
VBAccumulatorMembershipCDH(MembershipProof<E>)
VBAccumulatorNonMembershipCDH(NonMembershipProof<E>)
KBUniversalAccumulatorMembershipCDH(KBUniversalAccumulatorMembershipProof<E>)
KBUniversalAccumulatorNonMembershipCDH(KBUniversalAccumulatorNonMembershipProof<E>)
KBPositiveAccumulatorMembership(KBPositiveAccumulatorMembershipProof<E>)
KBPositiveAccumulatorMembershipCDH(KBPositiveAccumulatorMembershipProof<E>)
PoKOfBBDT16MAC(PoKOfMAC<E::G1Affine>)
PedersenCommitmentG2(PedersenCommitmentProof<E::G2Affine>)
VBAccumulatorMembershipKV(MembershipProof<E::G1Affine>)
KBUniversalAccumulatorMembershipKV(KBUniversalAccumulatorMembershipProof<E::G1Affine>)
KBUniversalAccumulatorNonMembershipKV(KBUniversalAccumulatorNonMembershipProof<E::G1Affine>)
PoKBBSSignature23IETFG1(PoKOfSignature23G1Proof<E>)
PedersenCommitmentPartial(PedersenCommitmentPartialProof<E::G1Affine>)
PedersenCommitmentG2Partial(PedersenCommitmentPartialProof<E::G2Affine>)
VeTZ21(VeTZ21Proof<E::G1Affine>)
VeTZ21Robust(VeTZ21RobustProof<E::G1Affine>)
Trait Implementations§
Source§impl<E: Pairing> CanonicalDeserialize for StatementProof<E>
impl<E: Pairing> CanonicalDeserialize for StatementProof<E>
Source§fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate,
) -> Result<Self, SerializationError>
fn deserialize_with_mode<R: Read>( reader: R, compress: Compress, validate: Validate, ) -> Result<Self, SerializationError>
The general deserialize method that takes in customization flags.
fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_compressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
Source§impl<E: Pairing> CanonicalSerialize for StatementProof<E>
impl<E: Pairing> CanonicalSerialize for StatementProof<E>
Source§fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress,
) -> Result<(), SerializationError>
fn serialize_with_mode<W: Write>( &self, writer: W, compress: Compress, ) -> Result<(), SerializationError>
The general serialize method that takes in customization flags.
fn serialized_size(&self, compress: Compress) -> usize
fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn compressed_size(&self) -> usize
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn uncompressed_size(&self) -> usize
Source§impl<E: Clone + Pairing> Clone for StatementProof<E>
impl<E: Clone + Pairing> Clone for StatementProof<E>
Source§fn clone(&self) -> StatementProof<E>
fn clone(&self) -> StatementProof<E>
Returns a duplicate 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<'de, E: Pairing> Deserialize<'de> for StatementProof<E>
impl<'de, E: Pairing> Deserialize<'de> for StatementProof<E>
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<E: Pairing> Serialize for StatementProof<E>
impl<E: Pairing> Serialize for StatementProof<E>
Source§impl<E: Pairing> Valid for StatementProof<E>
impl<E: Pairing> Valid for StatementProof<E>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send,
) -> Result<(), SerializationError>where
Self: 'a,
impl<E: Pairing> StructuralPartialEq for StatementProof<E>
Auto Trait Implementations§
impl<E> Freeze for StatementProof<E>
impl<E> RefUnwindSafe for StatementProof<E>where
<E as Pairing>::G1Affine: RefUnwindSafe,
<E as Pairing>::ScalarField: RefUnwindSafe,
<E as Pairing>::G2Affine: RefUnwindSafe,
<E as Pairing>::TargetField: RefUnwindSafe,
impl<E> Send for StatementProof<E>
impl<E> Sync for StatementProof<E>
impl<E> Unpin for StatementProof<E>
impl<E> UnwindSafe for StatementProof<E>where
<E as Pairing>::G1Affine: UnwindSafe,
<E as Pairing>::ScalarField: UnwindSafe + RefUnwindSafe,
<E as Pairing>::G2Affine: UnwindSafe,
<E as Pairing>::TargetField: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
fn hash<H>(&self) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
fn hash_uncompressed<H>(
&self,
) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Upcastable for T
impl<T> Upcastable for T
Source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
Source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref