pub struct WorkStealingThreadPool { /* private fields */ }Expand description
Work-stealing thread pool for efficient parallel task distribution
This thread pool uses work-stealing to balance load across threads. Each thread maintains a local work queue, and idle threads can steal work from busy threads to maintain high utilization.
Implementations§
Source§impl WorkStealingThreadPool
impl WorkStealingThreadPool
Trait Implementations§
Source§impl Debug for WorkStealingThreadPool
impl Debug for WorkStealingThreadPool
Auto Trait Implementations§
impl Freeze for WorkStealingThreadPool
impl !RefUnwindSafe for WorkStealingThreadPool
impl Send for WorkStealingThreadPool
impl Sync for WorkStealingThreadPool
impl Unpin for WorkStealingThreadPool
impl !UnwindSafe for WorkStealingThreadPool
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more