[][src]Struct storage_proofs::circuit::multi_proof::MultiProof

pub struct MultiProof<'a, E: Engine> {
    pub circuit_proofs: Vec<Proof<E>>,
    pub verifying_key: &'a VerifyingKey<E>,
}

Fields

circuit_proofs: Vec<Proof<E>>verifying_key: &'a VerifyingKey<E>

Methods

impl<'a, E: Engine> MultiProof<'a, E>[src]

pub fn new(
    groth_proofs: Vec<Proof<E>>,
    verifying_key: &'a VerifyingKey<E>
) -> Self
[src]

pub fn new_from_reader<R: Read>(
    partitions: Option<usize>,
    reader: R,
    verifying_key: &'a VerifyingKey<E>
) -> Result<Self>
[src]

pub fn write<W: Write>(&self, writer: W) -> Result<()>[src]

Auto Trait Implementations

impl<'a, E> Send for MultiProof<'a, E> where
    <E as Engine>::G1Affine: Send + Sync,
    <E as Engine>::G2Affine: Send + Sync

impl<'a, E> Unpin for MultiProof<'a, E> where
    <E as Engine>::G1Affine: Unpin,
    <E as Engine>::G2Affine: Unpin

impl<'a, E> Sync for MultiProof<'a, E> where
    <E as Engine>::G1Affine: Sync,
    <E as Engine>::G2Affine: Sync

impl<'a, E> UnwindSafe for MultiProof<'a, E> where
    <E as Engine>::G1Affine: RefUnwindSafe + UnwindSafe,
    <E as Engine>::G2Affine: RefUnwindSafe + UnwindSafe

impl<'a, E> RefUnwindSafe for MultiProof<'a, E> where
    <E as Engine>::G1Affine: RefUnwindSafe,
    <E as Engine>::G2Affine: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,