Struct termusiclib::podcast::Threadpool
source · pub struct Threadpool { /* private fields */ }Expand description
Manages a threadpool of a given size, sending jobs to workers as necessary. Implements Drop trait to allow threads to complete their current jobs before being stopped.
Implementations§
source§impl Threadpool
impl Threadpool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Threadpool
impl !RefUnwindSafe for Threadpool
impl Send for Threadpool
impl Sync for Threadpool
impl Unpin for Threadpool
impl !UnwindSafe for Threadpool
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