[][src]Trait vessels::core::hal::crypto::Rng

pub trait Rng: Send + Sync {
    fn bytes(&mut self, len: usize) -> Infallible<Vec<u8>>;
}

Required methods

fn bytes(&mut self, len: usize) -> Infallible<Vec<u8>>

Loading content...

Methods

impl dyn Rng[src]

pub fn new() -> Result<Box<dyn Rng>, UnimplementedError>[src]

Trait Implementations

impl Reflected for dyn Rng[src]

Implementors

Loading content...