pub struct Pool { /* private fields */ }
Expand description
A Pool
orchestrates two different threadpools, a compressor pool and a writer pool.
The pool is suitable for scenarios where there are many more writers than threads, efficiently managing resources for M writers to N threads.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pool
impl !RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin 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