Enum it_lilo::traits::AllocatableError
source · pub enum AllocatableError {
MemoryIsMissing {
memory_index: usize,
},
AllocateFuncIsMissing {
function_index: u32,
},
AllocateCallFailed,
AllocateFuncIncompatibleSignature,
AllocateFuncIncompatibleOutput,
UserDefinedError(String),
}Variants§
MemoryIsMissing
The memory doesn’t exist.
AllocateFuncIsMissing
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§
source§impl Debug for AllocatableError
impl Debug for AllocatableError
source§impl Display for AllocatableError
impl Display for AllocatableError
source§impl Error for AllocatableError
impl Error for AllocatableError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AllocatableError> for LoError
impl From<AllocatableError> for LoError
source§fn from(source: AllocatableError) -> Self
fn from(source: AllocatableError) -> Self
Converts to this type from the input type.