pub struct Transcript<F: Field, S: Duplex<F>> { /* private fields */ }Implementations§
Source§impl<F: Field, S: Duplex<F>> Transcript<F, S>
impl<F: Field, S: Duplex<F>> Transcript<F, S>
Sourcepub fn print_state(&self)
pub fn print_state(&self)
Prints the current state of the sponge, for debugging.
pub fn guard<P>(&mut self, proof: P) -> TranscriptGuard<'_, F, S, P>
pub fn send_message<T, const N: usize>( &mut self, message: &T, ) -> Result<[F; N], Error>
pub fn finish(self) -> Result<(), Error>
pub fn finish_unchecked(self)
Auto Trait Implementations§
impl<F, S> Freeze for Transcript<F, S>where
S: Freeze,
impl<F, S> RefUnwindSafe for Transcript<F, S>where
S: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, S> Send for Transcript<F, S>where
S: Send,
impl<F, S> Sync for Transcript<F, S>where
S: Sync,
impl<F, S> Unpin for Transcript<F, S>
impl<F, S> UnsafeUnpin for Transcript<F, S>where
S: UnsafeUnpin,
impl<F, S> UnwindSafe for Transcript<F, S>where
S: UnwindSafe,
F: 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