pub enum WaitQueueRegistration<G> {
Armed(G),
Retry(G),
}Expand description
Result of publishing an exact waiter into a composite notification source.
Variants§
Armed(G)
The waiter is ordered in the source and the lease must remain alive.
Retry(G)
A notification crossed the predicate-to-registration window.
Auto Trait Implementations§
impl<G> Freeze for WaitQueueRegistration<G>where
G: Freeze,
impl<G> RefUnwindSafe for WaitQueueRegistration<G>where
G: RefUnwindSafe,
impl<G> Send for WaitQueueRegistration<G>where
G: Send,
impl<G> Sync for WaitQueueRegistration<G>where
G: Sync,
impl<G> Unpin for WaitQueueRegistration<G>where
G: Unpin,
impl<G> UnsafeUnpin for WaitQueueRegistration<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for WaitQueueRegistration<G>where
G: 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