pub struct AdviceWriter { /* private fields */ }
Expand description
Writable(Prover) advice that CanWrite
Advice holds meta-data to the transcript that need not be Fiat-Shamir’ed
Implementations§
source§impl AdviceWriter
impl AdviceWriter
pub fn new() -> Self
pub fn finalize(self) -> Vec<u8> ⓘ
pub fn into_reader(self) -> AdviceReader
Trait Implementations§
source§impl CanWrite for AdviceWriter
impl CanWrite for AdviceWriter
fn write_bytes(&mut self, data: &[u8])
fn write_scalar_slice<F: TowerField>(&mut self, elems: &[F])
fn write_scalar<F: TowerField>(&mut self, f: F)
fn write_packed<P: PackedField<Scalar: TowerField>>(&mut self, packed: P)
source§impl Debug for AdviceWriter
impl Debug for AdviceWriter
source§impl Default for AdviceWriter
impl Default for AdviceWriter
source§fn default() -> AdviceWriter
fn default() -> AdviceWriter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdviceWriter
impl RefUnwindSafe for AdviceWriter
impl Send for AdviceWriter
impl Sync for AdviceWriter
impl Unpin for AdviceWriter
impl UnwindSafe for AdviceWriter
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