pub trait EventSet:
Send
+ Sync
+ 'static {
// Required method
fn insert(&self, id: usize);
}
๐Deprecated since 0.1.18: recommended to use
FuturesUnordered
insteadExpand description
A concurrent set which allows for the insertion of usize
values.
EventSet
s are used to communicate precise information about the event(s)
that triggered a task notification. See task::with_unpark_event
for details.