Rng

Trait Rng 

Source
pub trait Rng {
    // Required method
    fn getrandom(buf: &mut [u8]);
}

Required Methods§

Source

fn getrandom(buf: &mut [u8])

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Rng for Random

Available on non-target_os=espidf only.