[−][src]Trait timely_communication::Pull
Pulling elements of type T
.
Required methods
fn pull(&mut self) -> &mut Option<T>
Pulls an element and provides the opportunity to take ownership.
The puller may mutate the result, in particular take ownership of the data by
replacing it with other data or even None
. This allows the puller to return
resources to the implementor.
If pull
returns None
this conventionally signals that no more data is available
at the moment, and the puller should find something better to do.