Struct threading::Pool
[−]
[src]
pub struct Pool { /* fields omitted */ }
Methods
impl Pool
[src]
fn new() -> Pool
fn with_capacity(min: usize, max: usize) -> Pool
fn spawn<F>(&self, handle: F) where
F: FnOnce() + Send + 'static,
F: FnOnce() + Send + 'static,
Trait Implementations
impl Clone for Pool
[src]
fn clone(&self) -> Pool
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more