[][src]Struct chacha20::ChaCha8Rng

pub struct ChaCha8Rng(_);

Random number generator over the ChaCha8 stream cipher.

Trait Implementations

impl Clone for ChaCha8Rng[src]

impl CryptoRng for ChaCha8Rng[src]

impl Debug for ChaCha8Rng[src]

impl RngCore for ChaCha8Rng[src]

impl SeedableRng for ChaCha8Rng[src]

type Seed = [u8; 32]

Seed type, which is restricted to types mutably-dereferencable as u8 arrays (we recommend [u8; N] for some N). Read more

Auto Trait Implementations

impl Send for ChaCha8Rng

impl Sync for ChaCha8Rng

impl Unpin for ChaCha8Rng

Blanket Implementations

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

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

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

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

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

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.

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.