Enum endbasic_core::exec::StopReason [−][src]
pub enum StopReason {
Eof,
Exited(u8),
}
Expand description
Describes how the machine stopped execution while it was running a script via exec()
.
Variants
Execution terminates because the machine reached the end of the input.
Exited(u8)
Execution terminated because the machine was asked to terminate with exit()
.
Tuple Fields of Exited
0: u8
Implementations
Converts the stop reason into a process exit code.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StopReason
impl Send for StopReason
impl Sync for StopReason
impl Unpin for StopReason
impl UnwindSafe for StopReason
Blanket Implementations
Mutably borrows from an owned value. Read more