pub enum Event<P: Program> {
Action(Action<P>),
Failed(Instruction),
Ready,
}Expand description
An emulation event.
Variants§
Action(Action<P>)
Failed(Instruction)
An Instruction failed to be executed.
Ready
The Emulator is ready.
Auto Trait Implementations§
impl<P> !Freeze for Event<P>
impl<P> !RefUnwindSafe for Event<P>
impl<P> Send for Event<P>
impl<P> !Sync for Event<P>
impl<P> Unpin for Event<P>
impl<P> UnsafeUnpin for Event<P>
impl<P> !UnwindSafe for Event<P>
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