Enum it_lilo::traits::AllocatableError
source · [−]pub enum AllocatableError {
MemoryIsMissing {
memory_index: usize,
},
AllocateFuncIsMissing {
function_index: u32,
},
AllocateCallFailed,
AllocateFuncIncompatibleSignature,
AllocateFuncIncompatibleOutput,
UserDefinedError(String),
}Variants
MemoryIsMissing
Fields
memory_index: usizeThe memory index.
The memory doesn’t exist.
AllocateFuncIsMissing
Fields
function_index: u32The local or import function index.
The local or import function doesn’t exist.
AllocateCallFailed
Failed to call a allocate function.
AllocateFuncIncompatibleSignature
Allocate input types doesn’t match with needed.
AllocateFuncIncompatibleOutput
Allocate output types doesn’t match with needed.
UserDefinedError(String)
User defined error.
Trait Implementations
sourceimpl Debug for AllocatableError
impl Debug for AllocatableError
sourceimpl Display for AllocatableError
impl Display for AllocatableError
sourceimpl Error for AllocatableError
impl Error for AllocatableError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<AllocatableError> for LoError
impl From<AllocatableError> for LoError
sourcefn from(source: AllocatableError) -> Self
fn from(source: AllocatableError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AllocatableError
impl Send for AllocatableError
impl Sync for AllocatableError
impl Unpin for AllocatableError
impl UnwindSafe for AllocatableError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more