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
Halt
The program halted successfully.
Fault(String)
The program caused a problem and broke the machine.
Continue
The program can continue running.
Trait Implementations
impl PartialEq for Outcome
[src]
fn eq(&self, __arg_0: &Outcome) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Outcome) -> bool
This method tests for !=
.
impl Debug for Outcome
[src]
impl Clone for Outcome
[src]
fn clone(&self) -> Outcome
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more