#[non_exhaustive]pub enum Fired {
Done(Batch),
Reschedule {
due_at_ms: u64,
value: Value,
batch: Batch,
},
Retry,
}Expand description
A handler’s decision, committed by the core.
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.
Done(Batch)
Commit batch and delete the timer, atomically.
Reschedule
Commit effects and move the timer atomically.
Fields
Retry
No effect now; try again later (counts as a failure for backoff).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Fired
impl RefUnwindSafe for Fired
impl Send for Fired
impl Sync for Fired
impl Unpin for Fired
impl UnsafeUnpin for Fired
impl UnwindSafe for Fired
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