Struct bacteria::TranscriptRng[][src]

pub struct TranscriptRng { /* fields omitted */ }
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.

Trait Implementations

impl RngCore for TranscriptRng[src]

fn next_u32(&mut self) -> u32[src]

Return the next random u32. Read more

fn next_u64(&mut self) -> u64[src]

Return the next random u64. Read more

fn fill_bytes(&mut self, dest: &mut [u8])[src]

Fill dest with random data. Read more

fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error>[src]

Fill dest entirely with random data. Read more

impl CryptoRng for TranscriptRng[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

pub fn cast(self) -> U

Numeric cast from self to T.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> FromBits<T> for T

pub fn from_bits(t: T) -> T

Safe lossless bitwise transmute from T to Self.

impl<T> FromCast<T> for T

pub fn from_cast(t: T) -> T

Numeric cast from T to Self.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

pub fn into_bits(self) -> U

Safe lossless bitwise transmute from self to T.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.