pub struct StarkOutput<F, EF, SC>{
pub digest: <<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest,
pub proof: StarkProof<F, EF, SC>,
}Expand description
Output of crate::prover::prove_single / crate::prover::prove_multi: the proof data and
its transcript digest.
Fields§
§digest: <<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::DigestTranscript digest committing to the entire prover–verifier interaction.
proof: StarkProof<F, EF, SC>Proof data consumed by the verifier.
Trait Implementations§
Source§impl<F, EF, SC> Debug for StarkOutput<F, EF, SC>where
F: TwoAdicField + Debug,
EF: ExtensionField<F>,
SC: StarkConfig<F, EF>,
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: Debug,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: Debug,
impl<F, EF, SC> Debug for StarkOutput<F, EF, SC>where
F: TwoAdicField + Debug,
EF: ExtensionField<F>,
SC: StarkConfig<F, EF>,
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: Debug,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: Debug,
Auto Trait Implementations§
impl<F, EF, SC> Freeze for StarkOutput<F, EF, SC>
impl<F, EF, SC> RefUnwindSafe for StarkOutput<F, EF, SC>where
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: RefUnwindSafe,
F: RefUnwindSafe,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: RefUnwindSafe,
impl<F, EF, SC> Send for StarkOutput<F, EF, SC>where
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: Send,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: Send,
impl<F, EF, SC> Sync for StarkOutput<F, EF, SC>where
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: Sync,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: Sync,
impl<F, EF, SC> Unpin for StarkOutput<F, EF, SC>where
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: Unpin,
F: Unpin,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: Unpin,
impl<F, EF, SC> UnsafeUnpin for StarkOutput<F, EF, SC>
impl<F, EF, SC> UnwindSafe for StarkOutput<F, EF, SC>where
<<SC as StarkConfig<F, EF>>::Challenger as CanFinalizeDigest>::Digest: UnwindSafe,
F: UnwindSafe,
<<SC as StarkConfig<F, EF>>::Lmcs as Lmcs>::Commitment: 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
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