Struct merlin::TranscriptRng
source · [−]pub struct TranscriptRng { /* private fields */ }
Expand description
An RNG providing synthetic randomness to the prover.
A TranscriptRng
is constructed from a Transcript
using a
TranscriptRngBuilder
; see its documentation for details on
how to construct one.
The transcript RNG construction is described in the Generating Randomness section of the Merlin website.
Trait Implementations
sourceimpl RngCore for TranscriptRng
impl RngCore for TranscriptRng
impl CryptoRng for TranscriptRng
Auto Trait Implementations
impl RefUnwindSafe for TranscriptRng
impl Send for TranscriptRng
impl Sync for TranscriptRng
impl Unpin for TranscriptRng
impl UnwindSafe for TranscriptRng
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more