pub struct ThreadPoolExecutor { /* private fields */ }Expand description
Small optional standard-library executor with a bounded queue.
Shutdown is permanent: a closed executor never creates workers again.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ThreadPoolExecutor
impl RefUnwindSafe for ThreadPoolExecutor
impl Send for ThreadPoolExecutor
impl Sync for ThreadPoolExecutor
impl Unpin for ThreadPoolExecutor
impl UnsafeUnpin for ThreadPoolExecutor
impl UnwindSafe for ThreadPoolExecutor
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