Struct momen::ThreadPool
source · pub struct ThreadPool<T, F>where
T: Send + Sync,
F: Fn(&mut T) + Clone + Send + Sync + 'static,{ /* private fields */ }
Expand description
static version thread pool
Implementations
Auto Trait Implementations
impl<T, F> !RefUnwindSafe for ThreadPool<T, F>
impl<T, F> Send for ThreadPool<T, F>
impl<T, F> !Sync for ThreadPool<T, F>
impl<T, F> Unpin for ThreadPool<T, F>where
F: Unpin,
T: Unpin,
impl<T, F> !UnwindSafe for ThreadPool<T, F>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more