[−][src]Enum cranelift_module::ModuleError
Error messages for all Module methods
Variants
Undeclared(String)Indicates an identifier was used before it was declared
IncompatibleDeclaration(String)Indicates an identifier was used as data/function first, but then used as the other
Indicates a function identifier was declared with a different signature than declared previously
DuplicateDefinition(String)Indicates an identifier was defined more than once
InvalidImportDefinition(String)Indicates an identifier was defined, but was declared as an import
FunctionTooLarge(String)Indicates a too-long function was defined
Compilation(CodegenError)Wraps a cranelift-codegen error
Backend(Error)Wraps a generic error from a backend
Trait Implementations
impl Debug for ModuleError[src]
impl Display for ModuleError[src]
impl Error for ModuleError[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]
fn description(&self) -> &str1.0.0[src]
fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl From<CodegenError> for ModuleError[src]
fn from(source: CodegenError) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for ModuleError
impl Send for ModuleError
impl Sync for ModuleError
impl Unpin for ModuleError
impl UnwindSafe for ModuleError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,