pub struct RandomGenerator;Expand description
Random replacement generator using OS CSPRNG.
Each call to generate produces a fresh random value. Determinism is
achieved externally by the MappingStore, which calls generate only
once per unique (category, original) pair and caches the result.
Implementations§
Trait Implementations§
Source§impl Default for RandomGenerator
impl Default for RandomGenerator
Auto Trait Implementations§
impl Freeze for RandomGenerator
impl RefUnwindSafe for RandomGenerator
impl Send for RandomGenerator
impl Sync for RandomGenerator
impl Unpin for RandomGenerator
impl UnsafeUnpin for RandomGenerator
impl UnwindSafe for RandomGenerator
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