#[non_exhaustive]pub enum DropReason {
QueueFull,
Frozen,
BudgetSpent,
TooManyInFlight,
Stopped,
}Expand description
Why a selected run was not queued.
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.
QueueFull
The queue was full; the run is not waited for.
Frozen
A kill switch of the evaluator or of the run is frozen.
BudgetSpent
The judge budget is spent.
TooManyInFlight
Too many sampled runs were still in flight to buffer another.
Stopped
The evaluator was shut down.
Trait Implementations§
Source§impl Clone for DropReason
impl Clone for DropReason
impl Copy for DropReason
Source§impl Debug for DropReason
impl Debug for DropReason
impl Eq for DropReason
Source§impl PartialEq for DropReason
impl PartialEq for DropReason
impl StructuralPartialEq for DropReason
Auto Trait Implementations§
impl Forget for DropReason
impl Freeze for DropReason
impl Move for DropReason
impl RefUnwindSafe for DropReason
impl Send for DropReason
impl Sync for DropReason
impl Unpin for DropReason
impl UnsafeUnpin for DropReason
impl UnwindSafe for DropReason
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