Struct futures::executor::Spawn [−][src]
pub struct Spawn<F> { /* fields omitted */ }A future representing the completion of task spawning.
See spawn for details.
Trait Implementations
impl<F> Debug for Spawn<F> where
F: Debug, [src]
impl<F> Debug for Spawn<F> where
F: Debug, fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<F> Future for Spawn<F> where
F: 'static + Send + Future<Output = ()>, [src]
impl<F> Future for Spawn<F> where
F: 'static + Send + Future<Output = ()>, type Output = ()
🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
The result of the Future.
fn poll(self: PinMut<Spawn<F>>, cx: &mut Context) -> Poll<()>[src]
fn poll(self: PinMut<Spawn<F>>, cx: &mut Context) -> Poll<()>🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more