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
byte: u8
Trait Implementations
impl Debug for FixedByteRandom
[src]
impl Debug for FixedByteRandom
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl SecureRandom for FixedByteRandom
[src]
impl SecureRandom for FixedByteRandom
Auto Trait Implementations
impl Send for FixedByteRandom
impl Send for FixedByteRandom
impl Sync for FixedByteRandom
impl Sync for FixedByteRandom