Enum rlua::ThreadStatus
[−]
[src]
pub enum ThreadStatus { Resumable, Unresumable, Error, }
Status of a Lua thread (or coroutine).
Variants
Resumable
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
.
Unresumable
Either the thread has finished executing, or the thread is currently running.
Error
The thread has raised a Lua error during execution.
Trait Implementations
impl Debug for ThreadStatus
[src]
impl Copy for ThreadStatus
[src]
impl Clone for ThreadStatus
[src]
fn clone(&self) -> ThreadStatus
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more