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> SecureRandom for FixedSliceRandom<'a>
[src]

Fills dest with random bytes.