#[repr(C)]pub enum Error_type {
Show 16 variants
Invalid_pointer,
Invalid_UTF8_string,
Slice_conversion_failed(Error_type),
Not_implemented,
Initialization_failure,
Compilation_error(String),
Instantiation_failure(String),
Execution_error(String),
Function_not_found,
Allocation_failure,
Failed_to_get_task_informations(Error_type),
Poisoned_lock,
Invalid_module,
Internal_error,
Invalid_thread_identifier,
Time(Error_type),
}
Variants§
Invalid_pointer
Invalid_UTF8_string
Slice_conversion_failed(Error_type)
Not_implemented
Initialization_failure
Compilation_error(String)
Instantiation_failure(String)
Execution_error(String)
Function_not_found
Allocation_failure
Failed_to_get_task_informations(Error_type)
Poisoned_lock
Invalid_module
Internal_error
Invalid_thread_identifier
Time(Error_type)
Trait Implementations§
Source§impl Debug for Error_type
impl Debug for Error_type
Source§impl From<Error_type> for Error_type
impl From<Error_type> for Error_type
Source§fn from(Error: Error_type) -> Self
fn from(Error: Error_type) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for Error_type
impl<T> From<PoisonError<T>> for Error_type
Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for Error_type
impl From<RuntimeError> for Error_type
Source§fn from(Error: RuntimeError) -> Self
fn from(Error: RuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error_type
impl RefUnwindSafe for Error_type
impl Send for Error_type
impl Sync for Error_type
impl Unpin for Error_type
impl UnwindSafe for Error_type
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