#[non_exhaustive]pub enum ConcurrencyStatus {
Available,
MaxedOut,
}Expand description
Status of concurrency when rejecting a batch item.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Available
There is available concurrency to process another batch.
It might be being used because batches are waiting to be processed.
MaxedOut
The maximum concurrency for this key has been reached.
Trait Implementations§
Source§impl Clone for ConcurrencyStatus
impl Clone for ConcurrencyStatus
Source§fn clone(&self) -> ConcurrencyStatus
fn clone(&self) -> ConcurrencyStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConcurrencyStatus
impl Debug for ConcurrencyStatus
impl Copy for ConcurrencyStatus
Auto Trait Implementations§
impl Freeze for ConcurrencyStatus
impl RefUnwindSafe for ConcurrencyStatus
impl Send for ConcurrencyStatus
impl Sync for ConcurrencyStatus
impl Unpin for ConcurrencyStatus
impl UnwindSafe for ConcurrencyStatus
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