Trait timely_communication::Pull [−][src]
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 receiver may mutate the result, in particular take ownership of the data by replacing
it with other data or even None
.
If pull
returns None
this conventionally signals that no more data is available
at the moment.
Provided Methods
Implementations on Foreign Types
impl<T, P: ?Sized + Pull<T>> Pull<T> for Box<P>
[src]
impl<T, P: ?Sized + Pull<T>> Pull<T> for Box<P>