pub struct SystemRandom(/* private fields */);
Expand description
A secure random number generator where the random values come from the underlying AWS-LC libcrypto.
A single SystemRandom
may be shared across multiple threads safely.
Implementations§
Source§impl SystemRandom
impl SystemRandom
Trait Implementations§
Source§impl Clone for SystemRandom
impl Clone for SystemRandom
Source§fn clone(&self) -> SystemRandom
fn clone(&self) -> SystemRandom
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SystemRandom
impl Debug for SystemRandom
Auto Trait Implementations§
impl Freeze for SystemRandom
impl RefUnwindSafe for SystemRandom
impl Send for SystemRandom
impl Sync for SystemRandom
impl Unpin for SystemRandom
impl UnwindSafe for SystemRandom
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