pub struct UuidGenerator {}
Expand description
Struct implementing the IdGenerator trait using UUID v4
This is a simple wrapper around the uuid crate’s Uuid::new_v4 function to generate unique session identifiers.
Trait Implementations§
Source§impl IdGenerator for UuidGenerator
impl IdGenerator for UuidGenerator
Auto Trait Implementations§
impl Freeze for UuidGenerator
impl RefUnwindSafe for UuidGenerator
impl Send for UuidGenerator
impl Sync for UuidGenerator
impl Unpin for UuidGenerator
impl UnwindSafe for UuidGenerator
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