pub struct SynchronousRandom<'a, R: Rng<'a>> { /* private fields */ }
Trait Implementations§
Source§impl<'a, R: Rng<'a>> Client for SynchronousRandom<'a, R>
impl<'a, R: Rng<'a>> Client for SynchronousRandom<'a, R>
Source§impl<'a, R: Rng<'a>> Random<'a> for SynchronousRandom<'a, R>
impl<'a, R: Rng<'a>> Random<'a> for SynchronousRandom<'a, R>
Source§fn initialize(&'a self)
fn initialize(&'a self)
Initialize/reseed the random number generator from an
internal source. This initialization MAY be deterministic
(e.g., based on an EUI-64) or MAY be random (e.g., based on an
underlying hardware entropy source); an implementation SHOULD
make reseeding random.
Auto Trait Implementations§
impl<'a, R> !Freeze for SynchronousRandom<'a, R>
impl<'a, R> !RefUnwindSafe for SynchronousRandom<'a, R>
impl<'a, R> Send for SynchronousRandom<'a, R>where
R: Sync,
impl<'a, R> !Sync for SynchronousRandom<'a, R>
impl<'a, R> Unpin for SynchronousRandom<'a, R>
impl<'a, R> UnwindSafe for SynchronousRandom<'a, R>where
R: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more