Struct futures::task::UnparkEvent [] [src]

pub struct UnparkEvent { /* fields omitted */ }

A set insertion to trigger upon unpark.

Unpark events are used to communicate information about why an unpark occured, in particular populating sets with event identifiers so that the unparked task can avoid extraneous polling. See with_unpark_event for more.

Methods

impl UnparkEvent
[src]

Construct an unpark event that will insert id into set when triggered.

Trait Implementations

impl Clone for UnparkEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more