pub enum RecordOutcome {
Recorded,
RefusedTerminal,
}Expand description
Whether a recorder seam durably appended a timer event, or refused it because the workflow’s active run already reached a terminal.
A refusal is a benign, expected outcome — a late timer fire or cancel that lands after the run terminated — not an error. It exists as an explicit value so the timer service can distinguish “appended” from “refused” and deliver a mailbox wake ONLY for a genuine append: a refused post-terminal fire must never wake (and thereby reschedule) a workflow that has already terminated.
Variants§
Recorded
The event was durably appended through the target run’s Recorder.
RefusedTerminal
The append was refused because the active run already recorded a terminal; no history was mutated and no wake must follow.
Trait Implementations§
Source§impl Clone for RecordOutcome
impl Clone for RecordOutcome
Source§fn clone(&self) -> RecordOutcome
fn clone(&self) -> RecordOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordOutcome
Source§impl Debug for RecordOutcome
impl Debug for RecordOutcome
impl Eq for RecordOutcome
Source§impl PartialEq for RecordOutcome
impl PartialEq for RecordOutcome
impl StructuralPartialEq for RecordOutcome
Auto Trait Implementations§
impl Freeze for RecordOutcome
impl RefUnwindSafe for RecordOutcome
impl Send for RecordOutcome
impl Sync for RecordOutcome
impl Unpin for RecordOutcome
impl UnsafeUnpin for RecordOutcome
impl UnwindSafe for RecordOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.