pub struct DeviceStarkProvingKey<'a, PB: ProverBackend> {
pub air_name: &'a str,
pub vk: &'a StarkVerifyingKey<PB::Val, PB::Commitment>,
pub preprocessed_data: Option<SingleCommitPreimage<PB::Matrix, PB::PcsData>>,
pub rap_partial_pk: PB::RapPartialProvingKey,
}
Fields§
§air_name: &'a str
Type name of the AIR, for display purposes only
vk: &'a StarkVerifyingKey<PB::Val, PB::Commitment>
§preprocessed_data: Option<SingleCommitPreimage<PB::Matrix, PB::PcsData>>
Prover only data for preprocessed trace
rap_partial_pk: PB::RapPartialProvingKey
Additional configuration or preprocessed data for the RAP phases
Auto Trait Implementations§
impl<'a, PB> Freeze for DeviceStarkProvingKey<'a, PB>where
<PB as ProverBackend>::RapPartialProvingKey: Freeze,
<PB as ProverBackend>::Matrix: Freeze,
<PB as ProverBackend>::PcsData: Freeze,
impl<'a, PB> RefUnwindSafe for DeviceStarkProvingKey<'a, PB>where
<PB as ProverBackend>::RapPartialProvingKey: RefUnwindSafe,
<PB as ProverBackend>::Matrix: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
impl<'a, PB> Send for DeviceStarkProvingKey<'a, PB>
impl<'a, PB> Sync for DeviceStarkProvingKey<'a, PB>
impl<'a, PB> Unpin for DeviceStarkProvingKey<'a, PB>where
<PB as ProverBackend>::RapPartialProvingKey: Unpin,
<PB as ProverBackend>::Matrix: Unpin,
<PB as ProverBackend>::PcsData: Unpin,
impl<'a, PB> UnwindSafe for DeviceStarkProvingKey<'a, PB>where
<PB as ProverBackend>::RapPartialProvingKey: UnwindSafe,
<PB as ProverBackend>::Matrix: UnwindSafe,
<PB as ProverBackend>::PcsData: UnwindSafe,
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::Val: 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
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> 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