pub struct PreprocessedAndCachedFixture<SC> {
pub sels: Vec<bool>,
pub config: SC,
pub num_cached_parts: usize,
}Fields§
§sels: Vec<bool>§config: SC§num_cached_parts: usizeImplementations§
Trait Implementations§
Source§impl<SC: StarkProtocolConfig> TestFixture<SC> for PreprocessedAndCachedFixture<SC>
impl<SC: StarkProtocolConfig> TestFixture<SC> for PreprocessedAndCachedFixture<SC>
fn airs(&self) -> Vec<AirRef<SC>> ⓘ
fn generate_proving_ctx(&self) -> ProvingContext<CpuColMajorBackend<SC>>
fn keygen<E: StarkEngine<SC = SC>>( &self, engine: &E, ) -> (MultiStarkProvingKey<SC>, MultiStarkVerifyingKey<SC>)
fn prove<E: StarkEngine<SC = SC>>( &self, engine: &E, pk: &MultiStarkProvingKey<SC>, ) -> Proof<SC>
Source§fn prove_from_transcript<E: StarkEngine<SC = SC>>(
&self,
engine: &E,
pk: &MultiStarkProvingKey<SC>,
transcript: &mut E::TS,
) -> Proof<SC>
fn prove_from_transcript<E: StarkEngine<SC = SC>>( &self, engine: &E, pk: &MultiStarkProvingKey<SC>, transcript: &mut E::TS, ) -> Proof<SC>
Prove using CPU tracegen and transport to device.
fn keygen_and_prove<E: StarkEngine<SC = SC>>( &self, engine: &E, ) -> (MultiStarkVerifyingKey<SC>, Proof<SC>)
Auto Trait Implementations§
impl<SC> Freeze for PreprocessedAndCachedFixture<SC>where
SC: Freeze,
impl<SC> RefUnwindSafe for PreprocessedAndCachedFixture<SC>where
SC: RefUnwindSafe,
impl<SC> Send for PreprocessedAndCachedFixture<SC>where
SC: Send,
impl<SC> Sync for PreprocessedAndCachedFixture<SC>where
SC: Sync,
impl<SC> Unpin for PreprocessedAndCachedFixture<SC>where
SC: Unpin,
impl<SC> UnsafeUnpin for PreprocessedAndCachedFixture<SC>where
SC: UnsafeUnpin,
impl<SC> UnwindSafe for PreprocessedAndCachedFixture<SC>where
SC: 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