pub struct DeviceStarkProvingKey<PB: ProverBackend> {
pub air_name: String,
pub vk: StarkVerifyingKey<PB::Val, PB::Commitment>,
pub preprocessed_data: Option<CommittedTraceData<PB>>,
pub other_data: PB::OtherAirData,
}Expand description
The proving key after prover-specific data has been transferred to device. The host data (e.g., vkey) is owned by this struct.
Fields§
§air_name: StringType name of the AIR, for display purposes only
vk: StarkVerifyingKey<PB::Val, PB::Commitment>§preprocessed_data: Option<CommittedTraceData<PB>>Prover only data for preprocessed trace
other_data: PB::OtherAirDataAuto Trait Implementations§
impl<PB> Freeze for DeviceStarkProvingKey<PB>where
<PB as ProverBackend>::OtherAirData: Freeze,
<PB as ProverBackend>::Commitment: Freeze,
<PB as ProverBackend>::Matrix: Freeze,
impl<PB> RefUnwindSafe for DeviceStarkProvingKey<PB>where
<PB as ProverBackend>::OtherAirData: RefUnwindSafe,
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::Matrix: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
impl<PB> Send for DeviceStarkProvingKey<PB>
impl<PB> Sync for DeviceStarkProvingKey<PB>
impl<PB> Unpin for DeviceStarkProvingKey<PB>where
<PB as ProverBackend>::OtherAirData: Unpin,
<PB as ProverBackend>::Commitment: Unpin,
<PB as ProverBackend>::Matrix: Unpin,
<PB as ProverBackend>::Val: Unpin,
impl<PB> UnsafeUnpin for DeviceStarkProvingKey<PB>where
<PB as ProverBackend>::OtherAirData: UnsafeUnpin,
<PB as ProverBackend>::Commitment: UnsafeUnpin,
<PB as ProverBackend>::Matrix: UnsafeUnpin,
impl<PB> UnwindSafe for DeviceStarkProvingKey<PB>where
<PB as ProverBackend>::OtherAirData: UnwindSafe,
<PB as ProverBackend>::Commitment: UnwindSafe,
<PB as ProverBackend>::Matrix: UnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
<PB as ProverBackend>::Val: 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<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