pub enum UniqueUuidAttempt<T> {
Accepted(T),
Collision,
}Expand description
Result of attempting to reserve or accept a generated UUID.
Variants§
Accepted(T)
Candidate was accepted and produced a value.
Collision
Candidate collided and should be retried with a new UUID.
Auto Trait Implementations§
impl<T> Freeze for UniqueUuidAttempt<T>where
T: Freeze,
impl<T> RefUnwindSafe for UniqueUuidAttempt<T>where
T: RefUnwindSafe,
impl<T> Send for UniqueUuidAttempt<T>where
T: Send,
impl<T> Sync for UniqueUuidAttempt<T>where
T: Sync,
impl<T> Unpin for UniqueUuidAttempt<T>where
T: Unpin,
impl<T> UnsafeUnpin for UniqueUuidAttempt<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for UniqueUuidAttempt<T>where
T: UnwindSafe,
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