pub enum GoalEvent {
Show 15 variants
GoalCreated,
PlanningStarted,
PlanningCompleted,
PlanningFailed,
WorkerStarted,
WorkerCompleted,
WorkerFailed,
ContextRotated,
GoalPaused,
GoalResumed,
GoalCompleted,
GoalCleared,
BudgetExceeded,
PrematureStopDetected,
Unknown,
}Expand description
Lifecycle event recorded in the goal history.
Variants§
GoalCreated
Goal was created.
PlanningStarted
Planning phase started.
PlanningCompleted
Planning phase completed.
PlanningFailed
Planning phase failed.
WorkerStarted
Worker started processing.
WorkerCompleted
Worker completed successfully.
WorkerFailed
Worker failed.
ContextRotated
Context was rotated.
GoalPaused
Goal was paused.
GoalResumed
Goal was resumed.
GoalCompleted
Goal completed successfully.
GoalCleared
Goal was cleared.
BudgetExceeded
Budget was exceeded.
PrematureStopDetected
Premature stop was detected.
Unknown
Unknown or unrecognized event.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GoalEvent
impl<'de> Deserialize<'de> for GoalEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GoalEvent
impl RefUnwindSafe for GoalEvent
impl Send for GoalEvent
impl Sync for GoalEvent
impl Unpin for GoalEvent
impl UnsafeUnpin for GoalEvent
impl UnwindSafe for GoalEvent
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