pub struct Pool(/* private fields */);Expand description
A Pool object represents a private thread pool with its own thread limits.
This is in contrast to the default, or shared, thread pool used by the crate’s submit function
as well as other code within the same process.
Implementations§
Trait Implementations§
impl Send for Pool
impl Sync for Pool
Auto Trait Implementations§
impl Freeze for Pool
impl RefUnwindSafe for Pool
impl Unpin for Pool
impl UnsafeUnpin for Pool
impl UnwindSafe for Pool
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