Enum rlua::ThreadStatus[][src]

pub enum ThreadStatus {
    Resumable,
    Unresumable,
    Error,
}

Status of a Lua thread (or coroutine).

Variants

The thread was just created, or is suspended because it has called coroutine.yield.

If a thread is in this state, it can be resumed by calling Thread::resume.

Either the thread has finished executing, or the thread is currently running.

The thread has raised a Lua error during execution.

Trait Implementations

impl Debug for ThreadStatus
[src]

Formats the value using the given formatter. Read more

impl Copy for ThreadStatus
[src]

impl Clone for ThreadStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ThreadStatus
[src]

impl PartialEq for ThreadStatus
[src]

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

This method tests for !=.

Auto Trait Implementations