pub struct AirProvingContext<PB: ProverBackend> {
pub cached_mains: Vec<CommittedTraceData<PB>>,
pub common_main: PB::Matrix,
pub public_values: Vec<PB::Val>,
}Fields§
§cached_mains: Vec<CommittedTraceData<PB>>Cached main trace matrices as PcsData. The original trace matrix should be extractable as
a view from the PcsData. The PcsData should also contain the commitment value. Cached
trace commitments have a single matrix per commitment.
The PcsData is kept inside an Arc to emphasize that this data is cached and may be
shared between multiple proving contexts. In particular, it is not typically safe to mutate
the data during a proving job.
common_main: PB::MatrixCommon main trace matrix
public_values: Vec<PB::Val>Public values
Implementations§
Source§impl<PB: ProverBackend> AirProvingContext<PB>
impl<PB: ProverBackend> AirProvingContext<PB>
Source§impl<PB: ProverBackend> AirProvingContext<PB>
impl<PB: ProverBackend> AirProvingContext<PB>
Auto Trait Implementations§
impl<PB> Freeze for AirProvingContext<PB>
impl<PB> RefUnwindSafe for AirProvingContext<PB>where
<PB as ProverBackend>::Matrix: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
impl<PB> Send for AirProvingContext<PB>
impl<PB> Sync for AirProvingContext<PB>
impl<PB> Unpin for AirProvingContext<PB>where
<PB as ProverBackend>::Matrix: Unpin,
<PB as ProverBackend>::Val: Unpin,
<PB as ProverBackend>::Commitment: Unpin,
impl<PB> UnsafeUnpin for AirProvingContext<PB>
impl<PB> UnwindSafe for AirProvingContext<PB>where
<PB as ProverBackend>::Matrix: UnwindSafe,
<PB as ProverBackend>::Val: UnwindSafe,
<PB as ProverBackend>::Commitment: UnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more