Enum tlua::MethodCallError
source · pub enum MethodCallError<E> {
NoSuchMethod,
LuaError(LuaError),
PushError(E),
}
Variants§
NoSuchMethod
The corresponding method was not found (t[k] == nil)
LuaError(LuaError)
Error during function call
PushError(E)
Pushing arguments failed
Trait Implementations§
source§impl<E: Debug> Debug for MethodCallError<E>
impl<E: Debug> Debug for MethodCallError<E>
source§impl<E> Display for MethodCallError<E>where
E: Display,
impl<E> Display for MethodCallError<E>where
E: Display,
source§impl<E> Error for MethodCallError<E>where
E: Error,
impl<E> Error for MethodCallError<E>where
E: Error,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl<E> !RefUnwindSafe for MethodCallError<E>
impl<E> Send for MethodCallError<E>where
E: Send,
impl<E> Sync for MethodCallError<E>where
E: Sync,
impl<E> Unpin for MethodCallError<E>where
E: Unpin,
impl<E> !UnwindSafe for MethodCallError<E>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more