pub struct TestEntropy { /* private fields */ }Expand description
A reproducible byte stream derived from an explicitly supplied test seed.
This type is not a cryptographic random-number generator for production work. It never installs a fallback into a Driver, Plugin, or security path; production code must continue to obtain its entropy from its production provider. A test-support seam must opt in by receiving this exact value.
Implementations§
Trait Implementations§
Source§impl Clone for TestEntropy
impl Clone for TestEntropy
Auto Trait Implementations§
impl !RefUnwindSafe for TestEntropy
impl !Send for TestEntropy
impl !Sync for TestEntropy
impl !UnwindSafe for TestEntropy
impl Freeze for TestEntropy
impl Unpin for TestEntropy
impl UnsafeUnpin for TestEntropy
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