Struct futures_util::future::WithExecutor
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct WithExecutor<F, E> where
F: Future,
E: Executor, { /* fields omitted */ }
Future for the with_executor
combinator, assigning an executor
to be used when spawning other futures.
This is created by the Future::with_executor
method.
Trait Implementations
impl<F: Debug, E: Debug> Debug for WithExecutor<F, E> where
F: Future,
E: Executor,
[src]
F: Future,
E: Executor,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<F, E> Future for WithExecutor<F, E> where
F: Future,
E: Executor,
[src]
F: Future,
E: Executor,
Auto Trait Implementations
impl<F, E> Send for WithExecutor<F, E> where
E: Send,
F: Send,
E: Send,
F: Send,
impl<F, E> Sync for WithExecutor<F, E> where
E: Sync,
F: Sync,
E: Sync,
F: Sync,