Struct executors::ThreadPoolExecutor [] [src]

pub struct ThreadPoolExecutor<T, Queue> where T: Task, Queue: TaskQueue<T> {
    // some fields omitted
}

Executor with thread pool

Trait Implementations

impl<T, Queue> Drop for ThreadPoolExecutor<T, Queue> where T: Task, Queue: TaskQueue<T>

fn drop(&mut self)

impl<T, Queue> Executor<T> for ThreadPoolExecutor<T, Queue> where T: Task, Queue: TaskQueue<T>

fn queued(&self) -> usize

fn clear(&self)

fn execute_with_priority(&self, task: T, priority: usize) -> Future<T::Result, T::Error>

fn execute(&self, task: T) -> Future<T::Result, T::Error>