Enum fce::FCEError[][src]

pub enum FCEError {
Show variants ResolveError(ResolveError), WasmerInvokeError(String), WasmerCreationError(CreationError), WasmerCompileError(CompileError), WasmerRuntimeError(String), WasmerLinkError(LinkError), WasmerError(String), RecordResolveError(String), WASIPrepareError(String), ITInstructionError(InstructionError), PrepareError(Error), NonUniqueModuleName(String), NoSuchFunction(StringString), NoSuchModule(String), HostImportError(HostImportError), WITParseError(WITParserError), IncorrectWIT(String), ModuleVersionParseError(ModuleInfoError), ModuleWithoutVersion(String), IncompatibleSDKVersions { module_name: String, required: Version, provided: Version, }, IncompatibleITVersions { module_name: String, required: Version, provided: Version, },
}

Variants

ResolveError(ResolveError)

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

WasmerInvokeError(String)

Error related to calling a main Wasm module.

WasmerCreationError(CreationError)

Error that raises during compilation Wasm code by Wasmer.

WasmerCompileError(CompileError)

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

WasmerRuntimeError(String)

Errors arisen during execution of a Wasm module.

WasmerLinkError(LinkError)

Errors arisen during linking Wasm modules with already loaded into FCE modules.

WasmerError(String)

Errors from the temporary class of amalgamation errors from the Wasmer side.

RecordResolveError(String)

Errors related to failed resolving of records.

WASIPrepareError(String)

Errors arisen during creation of a WASI context.

ITInstructionError(InstructionError)

Error arisen during execution of Wasm modules (especially, interface types).

PrepareError(Error)

Error that raises on the preparation step.

NonUniqueModuleName(String)

Indicates that there is already a module with such name.

NoSuchFunction(StringString)

Returns when there is no module with such name.

NoSuchModule(String)

Returns when there is no module with such name.

HostImportError(HostImportError)

An error occurred when host functions tries to lift IValues from WValues and lowering back.

WITParseError(WITParserError)

WIT section parse error.

IncorrectWIT(String)

Incorrect WIT section.

ModuleVersionParseError(ModuleInfoError)

Error is encountered while parsing module version.

ModuleWithoutVersion(String)

Provided module doesn’t contain a sdk version that is necessary.

IncompatibleSDKVersions

Module sdk versions are incompatible.

Show fields

Fields of IncompatibleSDKVersions

module_name: Stringrequired: Versionprovided: Version
IncompatibleITVersions

Module IT versions are incompatible.

Show fields

Fields of IncompatibleITVersions

module_name: Stringrequired: Versionprovided: Version

Trait Implementations

impl Debug for FCEError[src]

impl Display for FCEError[src]

impl Error for FCEError[src]

impl From<()> 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<HostImportError> for FCEError[src]

impl From<InstructionError> for FCEError[src]

impl From<InvokeError> for FCEError[src]

impl From<LinkError> for FCEError[src]

impl From<ModuleInfoError> 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> Pointable for T

type Init = T

The type for initializers.

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.