Enum mlem::Outcome [] [src]

pub enum Outcome {
    Halt,
    Fault(String),
    Continue,
}

Represents the outcome of a program run; a halt (graceful termination) or a fault (hardware error), or a state of continuation, in which the computer can keep running.

Variants

The program halted successfully.

The program caused a problem and broke the machine.

The program can continue running.

Trait Implementations

impl PartialEq for Outcome
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Outcome
[src]

Formats the value using the given formatter.

impl Clone for Outcome
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more