pub struct SeededUuidGen { /* private fields */ }Expand description
Deterministic UUID stand-in for tests — not cryptographically random.
Values come from a monotonic counter passed through splitmix64 so successive outputs are uncorrelated within a test run.
Implementations§
Source§impl SeededUuidGen
impl SeededUuidGen
pub fn new(seed: u64) -> SeededUuidGen
Trait Implementations§
Source§impl Debug for SeededUuidGen
impl Debug for SeededUuidGen
Auto Trait Implementations§
impl !Freeze for SeededUuidGen
impl RefUnwindSafe for SeededUuidGen
impl Send for SeededUuidGen
impl Sync for SeededUuidGen
impl Unpin for SeededUuidGen
impl UnsafeUnpin for SeededUuidGen
impl UnwindSafe for SeededUuidGen
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