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 Debug for ThreadStatus
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for ThreadStatus
[src]
impl Copy for ThreadStatus
impl Clone for ThreadStatus
[src]
impl Clone for ThreadStatus
fn clone(&self) -> ThreadStatus
[src]
fn clone(&self) -> ThreadStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ThreadStatus
[src]
impl Eq for ThreadStatus
impl PartialEq for ThreadStatus
[src]
impl PartialEq for ThreadStatus
Auto Trait Implementations
impl Send for ThreadStatus
impl Send for ThreadStatus
impl Sync for ThreadStatus
impl Sync for ThreadStatus