pub(crate) struct DummyRng;Expand description
This is a dummy RNG for cases when we need a concrete RNG type which does not get used.
Trait Implementations§
Source§impl TryRng for DummyRng
impl TryRng for DummyRng
Source§type Error = Infallible
type Error = Infallible
The type returned in the event of a RNG error. Read more
impl Copy for DummyRng
impl TryCryptoRng for DummyRng
Auto Trait Implementations§
impl Freeze for DummyRng
impl RefUnwindSafe for DummyRng
impl Send for DummyRng
impl Sync for DummyRng
impl Unpin for DummyRng
impl UnsafeUnpin for DummyRng
impl UnwindSafe for DummyRng
Blanket Implementations§
Source§impl<R> TryRngCore for Rwhere
R: TryRng,
impl<R> TryRngCore for Rwhere
R: TryRng,
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