pub enum MetaCallError {
FunctionNotFound,
FailedCasting(Box<dyn MetaCallValue>),
UnexpectedCStringConversionErr(MetaCallStringConversionError),
}
Expand description
This error may happen when trying to call a function.
Variants§
FunctionNotFound
Function not found.
FailedCasting(Box<dyn MetaCallValue>)
Failed to cast the return type as the type requested.
UnexpectedCStringConversionErr(MetaCallStringConversionError)
Null character detected.
Trait Implementations§
Source§impl Clone for MetaCallError
impl Clone for MetaCallError
Source§fn clone(&self) -> MetaCallError
fn clone(&self) -> MetaCallError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MetaCallError
impl !RefUnwindSafe for MetaCallError
impl !Send for MetaCallError
impl !Sync for MetaCallError
impl Unpin for MetaCallError
impl !UnwindSafe for MetaCallError
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