pub enum Event {
Enqueue(Execution),
NextInstruction,
ExecutionFinished,
}
Expand description
The event type for automation keys.
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 From<Event> for Event
impl From<Event> for Event
Source§fn from(ev: AutomationEvent) -> Self
fn from(ev: AutomationEvent) -> Self
Converts to this type from the input type.
impl Copy for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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