pub struct ThreadPool { /* fields omitted */ }
Create a new ThreadPool.
The size is the number of threads in the pool.
The new
function will panic if the size is zero.
pub fn execute<F>(&self, f: F) where
F: FnOnce() + Send + 'static,
[src]
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.