Struct ring::test::rand::FixedSliceRandom [−][src]
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
bytes: &'a [u8]
Trait Implementations
impl<'a> Debug for FixedSliceRandom<'a>[src]
impl<'a> Debug for FixedSliceRandom<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> SecureRandom for FixedSliceRandom<'a>[src]
impl<'a> SecureRandom for FixedSliceRandom<'a>Auto Trait Implementations
impl<'a> Send for FixedSliceRandom<'a>
impl<'a> Send for FixedSliceRandom<'a>impl<'a> Sync for FixedSliceRandom<'a>
impl<'a> Sync for FixedSliceRandom<'a>