Struct snarkvm_algorithms::polycommit::sonic_pc::BatchProof
source · pub struct BatchProof<E: PairingEngine>(_);
Expand description
Evaluation proof at a query set.
Implementations§
source§impl<E: PairingEngine> BatchProof<E>
impl<E: PairingEngine> BatchProof<E>
Trait Implementations§
source§impl<E: PairingEngine> CanonicalDeserialize for BatchProof<E>
impl<E: PairingEngine> CanonicalDeserialize for BatchProof<E>
fn deserialize_with_mode<R: Read>( reader: R, compress: Compress, validate: Validate ) -> Result<Self, SerializationError>
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: PairingEngine> CanonicalSerialize for BatchProof<E>
impl<E: PairingEngine> CanonicalSerialize for BatchProof<E>
fn serialize_with_mode<W: Write>( &self, writer: W, compress: Compress ) -> Result<(), SerializationError>
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 + PairingEngine> Clone for BatchProof<E>
impl<E: Clone + PairingEngine> Clone for BatchProof<E>
source§fn clone(&self) -> BatchProof<E>
fn clone(&self) -> BatchProof<E>
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<E: Debug + PairingEngine> Debug for BatchProof<E>
impl<E: Debug + PairingEngine> Debug for BatchProof<E>
source§impl<E: Default + PairingEngine> Default for BatchProof<E>
impl<E: Default + PairingEngine> Default for BatchProof<E>
source§fn default() -> BatchProof<E>
fn default() -> BatchProof<E>
Returns the “default value” for a type. Read more
source§impl<E: Hash + PairingEngine> Hash for BatchProof<E>
impl<E: Hash + PairingEngine> Hash for BatchProof<E>
source§impl<E: PartialEq + PairingEngine> PartialEq<BatchProof<E>> for BatchProof<E>
impl<E: PartialEq + PairingEngine> PartialEq<BatchProof<E>> for BatchProof<E>
source§fn eq(&self, other: &BatchProof<E>) -> bool
fn eq(&self, other: &BatchProof<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<E: PairingEngine> Valid for BatchProof<E>
impl<E: PairingEngine> Valid for BatchProof<E>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>( batch: impl Iterator<Item = &'a Self> + Send ) -> Result<(), SerializationError>where Self: 'a,
impl<E: Eq + PairingEngine> Eq for BatchProof<E>
impl<E: PairingEngine> StructuralEq for BatchProof<E>
impl<E: PairingEngine> StructuralPartialEq for BatchProof<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for BatchProof<E>where <E as PairingEngine>::Fr: RefUnwindSafe, <E as PairingEngine>::G1Affine: RefUnwindSafe,
impl<E> Send for BatchProof<E>
impl<E> Sync for BatchProof<E>
impl<E> Unpin for BatchProof<E>where <E as PairingEngine>::Fr: Unpin, <E as PairingEngine>::G1Affine: Unpin,
impl<E> UnwindSafe for BatchProof<E>where <E as PairingEngine>::Fr: UnwindSafe, <E as PairingEngine>::G1Affine: UnwindSafe,
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
§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
Compare self to
key
and return true
if they are equal.