Struct syncbox::ThreadPool [] [src]

pub struct ThreadPool<T: Task + 'static, Q: WorkQueue<T> = LinkedQueue<Option<T>>> { /* fields omitted */ }

Methods

impl<T: Task + 'static> ThreadPool<T, LinkedQueue<Option<T>>>
[src]

impl<T: Task + 'static, Q: WorkQueue<T>> ThreadPool<T, Q>
[src]

Trait Implementations

impl<T: Task + 'static, Q: WorkQueue<T>> Run<T> for ThreadPool<T, Q>
[src]

Runs the task on the underlying executor.

impl<T: Task + 'static, Q: WorkQueue<T>> Clone for ThreadPool<T, Q>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more