pub struct Csprng {}
Expand description
Implement a csprng for userspace-random so that it can be used for activities like generating keypairs.
Trait Implementations§
Source§impl RngCore for Csprng
impl RngCore for Csprng
Source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
Fill
dest
with random data. Read moreimpl CryptoRng for Csprng
Auto Trait Implementations§
impl Freeze for Csprng
impl RefUnwindSafe for Csprng
impl Send for Csprng
impl Sync for Csprng
impl Unpin for Csprng
impl UnwindSafe for Csprng
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