pub enum AutomationEvent {
LifecycleStarted {
id: TaskId,
},
LifecycleStepAdvanced {
id: TaskId,
step_index: usize,
},
LifecycleCompleted {
id: TaskId,
},
LifecycleLooped {
id: TaskId,
},
}
Expand description
Events related to the LifecycleLoop
automation component.
Variants§
LifecycleStarted
Fired when a new lifecycle loop is started.
LifecycleStepAdvanced
Fired each time the lifecycle advances to a new step.
LifecycleCompleted
Fired when a finite lifecycle has completed all its steps and repetitions.
LifecycleLooped
Fired when a repeating lifecycle finishes its last step and starts over.
Trait Implementations§
Source§impl Clone for AutomationEvent
impl Clone for AutomationEvent
Source§fn clone(&self) -> AutomationEvent
fn clone(&self) -> AutomationEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 AutomationEvent
impl RefUnwindSafe for AutomationEvent
impl Send for AutomationEvent
impl Sync for AutomationEvent
impl Unpin for AutomationEvent
impl UnwindSafe for AutomationEvent
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