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

pub struct FixedSliceRandom<'a> {
    pub bytes: &'a [u8],
}

An implementation of SecureRandom that always fills the output slice with the slice in bytes. The length of the slice given to slice must match exactly.

Fields

Trait Implementations

impl<'a> Debug for FixedSliceRandom<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> SecureRandom for FixedSliceRandom<'a>
[src]

Fills dest with random bytes.

Auto Trait Implementations

impl<'a> Send for FixedSliceRandom<'a>

impl<'a> Sync for FixedSliceRandom<'a>