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> Debug for Spawn<F>
[src]
impl<F: Debug> Debug for Spawn<F>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<F: Future<Output = ()> + Send + 'static> Future for Spawn<F>
[src]
impl<F: Future<Output = ()> + Send + 'static> Future for Spawn<F>
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<Self>, cx: &mut Context) -> Poll<()>
[src]
fn poll(self: PinMut<Self>, 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