pub struct TranscriptWriter<'a, B: BufMut> { /* private fields */ }
Implementations§
Source§impl<B: BufMut> TranscriptWriter<'_, B>
impl<B: BufMut> TranscriptWriter<'_, B>
pub fn buffer(&mut self) -> &mut B
pub fn write<T: SerializeBytes>(&mut self, value: &T)
pub fn write_slice<T: SerializeBytes>(&mut self, values: &[T])
pub fn write_bytes(&mut self, data: &[u8])
pub fn write_scalar<F: TowerField>(&mut self, f: F)
pub fn write_scalar_slice<F: TowerField>(&mut self, elems: &[F])
pub fn write_packed<P: PackedField<Scalar: TowerField>>(&mut self, packed: P)
pub fn write_packed_slice<P: PackedField<Scalar: TowerField>>( &mut self, packed_slice: &[P], )
pub fn write_debug(&mut self, msg: &str)
Auto Trait Implementations§
impl<'a, B> Freeze for TranscriptWriter<'a, B>
impl<'a, B> RefUnwindSafe for TranscriptWriter<'a, B>where
B: RefUnwindSafe,
impl<'a, B> Send for TranscriptWriter<'a, B>where
B: Send,
impl<'a, B> Sync for TranscriptWriter<'a, B>where
B: Sync,
impl<'a, B> Unpin for TranscriptWriter<'a, B>
impl<'a, B> !UnwindSafe for TranscriptWriter<'a, B>
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