Struct ring::test::rand::FixedByteRandom[][src]

pub struct FixedByteRandom {
    pub byte: u8,
}

An implementation of SecureRandom that always fills the output slice with the given byte.

Fields

Trait Implementations

impl Debug for FixedByteRandom
[src]

Formats the value using the given formatter. Read more

impl SecureRandom for FixedByteRandom
[src]

Fills dest with random bytes.

Auto Trait Implementations

impl Send for FixedByteRandom

impl Sync for FixedByteRandom