pub enum WaitKey {
Effect(EffectId),
Child(TaskId),
Approval(ApprovalId),
Signal(SignalFilter),
Timer(LogicalDeadline),
Channel(ChannelId),
Resource(ResourceKey),
External(SubscriptionId),
}Expand description
One indexable event key. A single WaitCondition can expand into more than one key —
Children fans out into one Child key per child id, since any of them completing is a fact
the parent’s wait needs to observe.
Variants§
Effect(EffectId)
Child(TaskId)
Approval(ApprovalId)
Signal(SignalFilter)
Timer(LogicalDeadline)
Channel(ChannelId)
Resource(ResourceKey)
External(SubscriptionId)
Trait Implementations§
impl Eq for WaitKey
impl StructuralPartialEq for WaitKey
Auto Trait Implementations§
impl Freeze for WaitKey
impl RefUnwindSafe for WaitKey
impl Send for WaitKey
impl Sync for WaitKey
impl Unpin for WaitKey
impl UnsafeUnpin for WaitKey
impl UnwindSafe for WaitKey
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