[][src]Enum fce::FCEError

pub enum FCEError {
    WasmerResolveError(String),
    WasmerInvokeError(String),
    WasmerCreationError(String),
    WasmerCompileError(String),
    PrepareError(String),
    NonUniqueModuleName,
    NoSuchFunction(String),
    NoSuchModule(String),
    WITParseError(WITParserError),
    IncorrectWIT(String),
    InvalidConfig(String),
}

Variants

WasmerResolveError(String)

This error type is produced by Wasmer during resolving a Wasm function.

WasmerInvokeError(String)

Error related to calling a main Wasm module.

WasmerCreationError(String)

Error that raises during compilation Wasm code by Wasmer.

WasmerCompileError(String)

Error that raises during creation of some Wasm objects (like table and memory) by Wasmer.

PrepareError(String)

Error that raises on the preparation step.

NonUniqueModuleName

Indicates that there is already a module with such name.

NoSuchFunction(String)

Returns when there is no module with such name.

NoSuchModule(String)

Returns when there is no module with such name.

WITParseError(WITParserError)

WIT section parse error.

IncorrectWIT(String)

Incorrect WIT section.

InvalidConfig(String)

Invalid FCE config (such as duplicated envs, preopened_files or mapped_dirs).

Trait Implementations

impl Debug for FCEError[src]

impl Display for FCEError[src]

impl Error for FCEError[src]

impl From<()> for FCEError[src]

impl From<CallError> for FCEError[src]

impl From<CompileError> for FCEError[src]

impl From<CreationError> for FCEError[src]

impl From<Error> for FCEError[src]

impl From<Error> for FCEError[src]

impl From<FCEWITInterfacesError> for FCEError[src]

impl From<InstructionError> for FCEError[src]

impl From<ResolveError> for FCEError[src]

impl From<RuntimeError> for FCEError[src]

impl From<WITParserError> for FCEError[src]

Auto Trait Implementations

impl !RefUnwindSafe for FCEError

impl Send for FCEError

impl Sync for FCEError

impl Unpin for FCEError

impl !UnwindSafe for FCEError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.