Struct futures::executor::Spawn
[−]
[src]
pub struct Spawn<F>(_);
A future representing the completion of task spawning.
See spawn
for details.
Trait Implementations
impl<F> Future for Spawn<F> where
F: Send + Future<Item = (), Error = Never> + 'static,
[src]
F: Send + Future<Item = (), Error = Never> + 'static,
type Item = ()
A successful value
type Error = Never
An error
fn poll(&mut self, cx: &mut Context) -> Result<Async<()>, Never>
[src]
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
impl<F> Debug for Spawn<F> where
F: Debug,
[src]
F: Debug,