pub struct WorkerPool { /* private fields */ }Expand description
java_package=whiteout.utils — abstract opaque base. Concrete impl: utils::SimpleThreadPool.
Implementations§
Source§impl WorkerPool
impl WorkerPool
Sourcepub fn thread_count(&self) -> usize
pub fn thread_count(&self) -> usize
Number of worker threads in this pool.
Trait Implementations§
Auto Trait Implementations§
impl !Sync for WorkerPool
impl Freeze for WorkerPool
impl RefUnwindSafe 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