Struct syncbox::ThreadPool
[−]
[src]
pub struct ThreadPool {
// some fields omitted
}pub struct ThreadPool {
// some fields omitted
}impl ThreadPool[src]fn fixed_size(size: u32) -> ThreadPoolfn single_thread() -> ThreadPoolfn new<Q>(core_pool_size: u32, maximum_pool_size: u32, work_queue: Q) -> ThreadPool where Q: SyncQueue<Option<Box<Task>>> + Send + Sync + Clone + 'staticfn run<F>(&self, task: F) where F: FnOnce() + Send + 'staticfn shutdown(&self)fn shutdown_now(&self)fn is_shutdown(&self) -> boolfn await_termination(&self)impl Run for ThreadPool[src]