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]

[src]

Formats the value using the given formatter.

impl Copy for ThreadStatus
[src]

impl Clone for ThreadStatus
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for ThreadStatus
[src]

impl PartialEq for ThreadStatus
[src]

[src]

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

1.0.0
[src]

This method tests for !=.