wasmtime_environ::__core::random

Trait RandomSource

source
pub trait RandomSource {
    // Required method
    fn fill_bytes(&mut self, bytes: &mut [u8]);
}
🔬This is a nightly-only experimental API. (random)
Expand description

A source of randomness.

Required Methods§

source

fn fill_bytes(&mut self, bytes: &mut [u8])

🔬This is a nightly-only experimental API. (random)

Fills bytes with random bytes.

Implementors§