Enum csx64::exec::StopReason[][src]

pub enum StopReason {
    NotRunning,
    MaxCycles,
    ForfeitTimeslot,
    Error(ExecError),
    Terminated(i32),
}

Reason why execution stopped.

Variants

NotRunning

Emulator was not in the running state.

MaxCycles

Emulator executed the requested number of cycles.

ForfeitTimeslot

Emulated program requested to forfeit the remainder of its execution timeslot. This can be done explicitly by the HTL instruction or implicitly from a blocking operation.

Error(ExecError)

An error was encountered during execution. For convenience, this variant stores the error, but it can also be accessed by testing the emulator state.

Terminated(i32)

The program successfully terminated. For convenince, this variant stores the return code, but it can also be accessed by testing the emulator state.

Trait Implementations

impl Clone for StopReason[src]

impl Copy for StopReason[src]

impl Debug for StopReason[src]

impl Eq for StopReason[src]

impl PartialEq<StopReason> for StopReason[src]

impl StructuralEq for StopReason[src]

impl StructuralPartialEq for StopReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WrappingAs for T[src]