Enum rlua::LuaErrorKind []

pub enum LuaErrorKind {
    Msg(String),
    ExternalError(LuaExternalError),
    Utf8Error(Utf8Error),
    NulError(NulError),
    BorrowError(BorrowError),
    BorrowMutError(BorrowMutError),
    ScriptError(String),
    CallbackError(String),
    IncompleteStatement(String),
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl LuaErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for LuaErrorKind

Formats the value using the given formatter.

impl Display for LuaErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for LuaErrorKind

Performs the conversion.

impl From<String> for LuaErrorKind

Performs the conversion.

impl From<LuaError> for LuaErrorKind

Performs the conversion.