Skip to main content

IntoMluaError

Trait IntoMluaError 

Source
pub trait IntoMluaError {
    // Required method
    fn to_lua_error(self) -> Error;
}
Expand description

A trait to convert between InteropError and mlua::Error

Required Methods§

Source

fn to_lua_error(self) -> Error

Convert into mlua::Error

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> IntoMluaError for T
where T: Into<InteropError>,