Struct tokio::executor::current_thread::TaskExecutor
[−]
[src]
pub struct TaskExecutor { /* fields omitted */ }Executes futures on the current thread.
All futures executed using this executor will be executed on the current
thread. As such, run will wait for these futures to complete before
returning.
For more details, see the module level documentation.
Trait Implementations
impl Debug for TaskExecutor[src]
impl Clone for TaskExecutor[src]
fn clone(&self) -> TaskExecutor[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<F> Executor<F> for TaskExecutor where
F: Future<Item = (), Error = ()> + 'static, [src]
F: Future<Item = (), Error = ()> + 'static,