Struct rand::rngs::EntropyRng [−][src]
pub struct EntropyRng { /* fields omitted */ }
👎 Deprecated since 0.7.0:
use rngs::OsRng instead
An interface returning random data from external source(s), provided specifically for securely seeding algorithmic generators (PRNGs).
This is deprecated. It is suggested you use rngs::OsRng
instead.
Implementations
impl EntropyRng
[src]
impl EntropyRng
[src]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntropyRng
impl Send for EntropyRng
impl Sync for EntropyRng
impl Unpin for EntropyRng
impl UnwindSafe for EntropyRng
Blanket Implementations
impl<R> Rng for R where
R: RngCore + ?Sized,
[src]
impl<R> Rng for R where
R: RngCore + ?Sized,
[src]fn gen<T>(&mut self) -> T where
Standard: Distribution<T>,
[src]
Standard: Distribution<T>,
fn gen_range<T: SampleUniform, B1, B2>(&mut self, low: B1, high: B2) -> T where
B1: SampleBorrow<T> + Sized,
B2: SampleBorrow<T> + Sized,
[src]
B1: SampleBorrow<T> + Sized,
B2: SampleBorrow<T> + Sized,
fn sample<T, D: Distribution<T>>(&mut self, distr: D) -> T
[src]
fn sample_iter<T, D>(self, distr: D) -> DistIter<D, Self, T>ⓘ where
D: Distribution<T>,
Self: Sized,
[src]
D: Distribution<T>,
Self: Sized,
fn fill<T: AsByteSliceMut + ?Sized>(&mut self, dest: &mut T)
[src]
fn try_fill<T: AsByteSliceMut + ?Sized>(
&mut self,
dest: &mut T
) -> Result<(), Error>
[src]
&mut self,
dest: &mut T
) -> Result<(), Error>