Expand description
An event that can be signaled and waited on by multiple consumers.
Structsยง
- Dropped
- Error returned from an
EventWaitwhen the Event is dropped. - Event
- An
Eventis a clonable object that can be signaled once. Calls to.wait()produce a future,EventWait, that can wait on that signal. Once theEventhas been signaled, all futures will complete immediately. - Event
Wait - Future implementation for
Event::wait. This future only completes when the event is signaled. If all signalers are dropped,EventWaitcontinues to returnPoll::Pending. - Event
Wait Result - Future implementation for
Event::wait_or_dropped.