Struct brotli::enc::worker_pool::WorkQueue
source · struct WorkQueue<ReturnValue: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, U: Send + 'static + Sync> {
jobs: FixedQueue<JobRequest<ReturnValue, ExtraInput, Alloc, U>>,
results: FixedQueue<JobReply<ReturnValue>>,
shutdown: bool,
immediate_shutdown: bool,
num_in_progress: usize,
cur_work_id: u64,
}
Fields§
§jobs: FixedQueue<JobRequest<ReturnValue, ExtraInput, Alloc, U>>
§results: FixedQueue<JobReply<ReturnValue>>
§shutdown: bool
§immediate_shutdown: bool
§num_in_progress: usize
§cur_work_id: u64
Trait Implementations§
Auto Trait Implementations§
impl<ReturnValue, ExtraInput, Alloc, U> Freeze for WorkQueue<ReturnValue, ExtraInput, Alloc, U>
impl<ReturnValue, ExtraInput, Alloc, U> RefUnwindSafe for WorkQueue<ReturnValue, ExtraInput, Alloc, U>
impl<ReturnValue, ExtraInput, Alloc, U> Send for WorkQueue<ReturnValue, ExtraInput, Alloc, U>
impl<ReturnValue, ExtraInput, Alloc, U> Sync for WorkQueue<ReturnValue, ExtraInput, Alloc, U>
impl<ReturnValue, ExtraInput, Alloc, U> Unpin for WorkQueue<ReturnValue, ExtraInput, Alloc, U>
impl<ReturnValue, ExtraInput, Alloc, U> UnwindSafe for WorkQueue<ReturnValue, ExtraInput, Alloc, U>
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