pub enum RequestBatch {
End,
Batch(Batch),
}
Expand description
A batch of requests or single to the workers.
Variants§
End
All requests have been produced and no more will be returned
This will cause the workers to start shutting down.
Batch(Batch)
A new batch to process.
Auto Trait Implementations§
impl Freeze for RequestBatch
impl !RefUnwindSafe for RequestBatch
impl Send for RequestBatch
impl Sync for RequestBatch
impl Unpin for RequestBatch
impl !UnwindSafe for RequestBatch
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