Enum rlua::LuaThreadStatus [] [src]

pub enum LuaThreadStatus {
    Dead,
    Active,
    Error,
}

Status of a Lua thread (or coroutine).

A LuaThread is Active before the coroutine function finishes, Dead after it finishes, and in Error state if error has been called inside the coroutine.

Variants

The thread has finished executing.

The thread is currently running or suspended because it has called coroutine.yield.

The thread has thrown an error during execution.

Trait Implementations

impl Debug for LuaThreadStatus
[src]

Formats the value using the given formatter.

impl Copy for LuaThreadStatus
[src]

impl Clone for LuaThreadStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for LuaThreadStatus
[src]

impl PartialEq for LuaThreadStatus
[src]

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

This method tests for !=.