pub enum ExecutorEvent {
RunStarted {
run_id: String,
},
RunCompleted {
run_id: String,
duration_ms: i64,
},
RunFailed {
run_id: String,
error: String,
},
}Expand description
Event sent from the executor to the runtime for run status updates.
Consumed by chronon-runtime to persist run state and forward metrics.
Variants§
RunStarted
A run task was spawned and execution has begun.
Fields
§
run_id: StringRun identifier matching Run::run_id.
RunCompleted
Handler returned successfully.
Fields
§
run_id: StringRun identifier matching Run::run_id.
RunFailed
Handler returned an error or context build failed.
Fields
§
run_id: StringRun identifier matching Run::run_id.
Trait Implementations§
Source§impl Clone for ExecutorEvent
impl Clone for ExecutorEvent
Source§fn clone(&self) -> ExecutorEvent
fn clone(&self) -> ExecutorEvent
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 moreAuto Trait Implementations§
impl Freeze for ExecutorEvent
impl RefUnwindSafe for ExecutorEvent
impl Send for ExecutorEvent
impl Sync for ExecutorEvent
impl Unpin for ExecutorEvent
impl UnsafeUnpin for ExecutorEvent
impl UnwindSafe for ExecutorEvent
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