Type Alias AutomationEvent

Source
pub type AutomationEvent = Event;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum AutomationEvent {
    Enqueue(Execution),
    NextInstruction,
    ExecutionFinished,
}

Variants§

§

Enqueue(Execution)

Enqueues an execution onto the Context’s execution queue.

§

NextInstruction

Indicates to the context to execute the next instruction.

§

ExecutionFinished

Indicates that the execution has finished.

Trait Implementations§

Source§

impl TryFrom<Event> for AutomationEvent

Source§

type Error = EventError

The type returned in the event of a conversion error.
Source§

fn try_from(ev: Event) -> Result<Self, Self::Error>

Performs the conversion.