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
Dead
The thread has finished executing.
Active
The thread is currently running or suspended because it has called coroutine.yield
.
Error
The thread has thrown an error during execution.
Trait Implementations
impl Debug for LuaThreadStatus
[src]
impl Copy for LuaThreadStatus
[src]
impl Clone for LuaThreadStatus
[src]
fn clone(&self) -> LuaThreadStatus
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