Enum mond::ThreadStatus [] [src]

#[must_use]
pub enum ThreadStatus { Ok, Yield, RuntimeError, SyntaxError, MemoryError, GcError, MessageHandlerError, FileError, }

Status of a Lua state.

Variants

Methods

impl ThreadStatus
[src]

[src]

Returns true for error statuses and false for Ok and Yield.

Trait Implementations

impl Clone for ThreadStatus
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ThreadStatus
[src]

impl Debug for ThreadStatus
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ThreadStatus
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for ThreadStatus
[src]