Struct futures_executor::SpawnWithHandle [−][src]
pub struct SpawnWithHandle<F> { /* fields omitted */ }
A future representing the completion of task spawning, yielding a
JoinHandle
to the spawned task.
See spawn_with_handle
for details.
Trait Implementations
impl<F: Debug> Debug for SpawnWithHandle<F>
[src]
impl<F: Debug> Debug for SpawnWithHandle<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 for SpawnWithHandle<F> where
F: Future + Send + 'static,
F::Output: Send,
[src]
impl<F> Future for SpawnWithHandle<F> where
F: Future + Send + 'static,
F::Output: Send,
type Output = JoinHandle<F::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<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
🔬 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
Auto Trait Implementations
impl<F> Send for SpawnWithHandle<F> where
F: Send,
impl<F> Send for SpawnWithHandle<F> where
F: Send,
impl<F> Sync for SpawnWithHandle<F> where
F: Sync,
impl<F> Sync for SpawnWithHandle<F> where
F: Sync,