#[non_exhaustive]pub enum End {
Completed,
BudgetTerminated(Exhausted),
Declined(Decline),
}Expand description
How a root’s processing ended.
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.
Completed
The strategy ran to its end.
BudgetTerminated(Exhausted)
A budget or deadline stopped it; the result is as valid as a completed one (see
RootOutcome::relies_on) but not final.
Declined(Decline)
Not processed.
Trait Implementations§
impl Copy for End
impl Eq for End
impl StructuralPartialEq for End
Auto Trait Implementations§
impl Forget for End
impl Freeze for End
impl Move for End
impl RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl UnsafeUnpin for End
impl UnwindSafe for End
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