pub struct Proof<Transcript, Advice> {
pub transcript: Transcript,
pub advice: Advice,
}
Expand description
Helper struct combining Transcript and Advice data to create a Proof object
Fields§
§transcript: Transcript
§advice: Advice
Implementations§
source§impl<Challenger: Default> Proof<TranscriptWriter<Challenger>, AdviceWriter>
impl<Challenger: Default> Proof<TranscriptWriter<Challenger>, AdviceWriter>
pub fn into_verifier(self) -> Proof<TranscriptReader<Challenger>, AdviceReader>
Auto Trait Implementations§
impl<Transcript, Advice> Freeze for Proof<Transcript, Advice>
impl<Transcript, Advice> RefUnwindSafe for Proof<Transcript, Advice>where
Transcript: RefUnwindSafe,
Advice: RefUnwindSafe,
impl<Transcript, Advice> Send for Proof<Transcript, Advice>
impl<Transcript, Advice> Sync for Proof<Transcript, Advice>
impl<Transcript, Advice> Unpin for Proof<Transcript, Advice>
impl<Transcript, Advice> UnwindSafe for Proof<Transcript, Advice>where
Transcript: UnwindSafe,
Advice: 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<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