Enum mlua::prelude::LuaThreadStatus [−][src]
pub enum LuaThreadStatus {
Resumable,
Unresumable,
Error,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for ThreadStatus
impl Send for ThreadStatus
impl Sync for ThreadStatus
impl Unpin for ThreadStatus
impl UnwindSafe for ThreadStatus
Blanket Implementations
Mutably borrows from an owned value. Read more