[][src]Trait futures::task::EventSet

pub trait EventSet: Send + Sync + 'static {
    fn insert(&self, id: usize);
}
Deprecated since 0.1.18:

recommended to use FuturesUnordered instead

A concurrent set which allows for the insertion of usize values.

EventSets are used to communicate precise information about the event(s) that triggered a task notification. See task::with_unpark_event for details.

Required methods

fn insert(&self, id: usize)

Deprecated since 0.1.18:

recommended to use FuturesUnordered instead

Insert the given ID into the set

Loading content...

Implementors

Loading content...