pub struct WorkerPool { /* private fields */ }Expand description
Implementations§
Source§impl WorkerPool
impl WorkerPool
Sourcepub fn thread_count(&self) -> usize
pub fn thread_count(&self) -> usize
Number of worker threads in the pool.
Trait Implementations§
Source§impl Drop for WorkerPool
impl Drop for WorkerPool
Auto Trait Implementations§
impl Freeze for WorkerPool
impl !RefUnwindSafe for WorkerPool
impl Send for WorkerPool
impl Sync for WorkerPool
impl Unpin for WorkerPool
impl UnsafeUnpin for WorkerPool
impl !UnwindSafe for WorkerPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more