[−][src]Trait osaka::Future
something that can be resumed
Required methods
fn poll(&mut self) -> FutureResult<R>
Provided methods
fn wakeup(&mut self)
force a wakeup the next time activate
is called. This is for a poor implementation of
channels and you should probably not use this.
Implementors
impl<R> Future<R> for Task<R>
[src]
impl<R> Future<R> for Task<R>
fn poll(&mut self) -> FutureResult<R> | [src] |
this is called by the execution engine, or a sync macro.
you can call this by hand, but it won't actually do anything unless the task contains a token that is ready, or has an expired deadline
fn wakeup(&mut self) | [src] |
impl<R, X> Future<R> for X where
X: Generator<Yield = Again, Return = R>,
[src]
impl<R, X> Future<R> for X where
X: Generator<Yield = Again, Return = R>,
fn poll(&mut self) -> FutureResult<R> | [src] |
fn wakeup(&mut self) | [src] |