Enum marine_it_parser::ITParserError[][src]

pub enum ITParserError {
    NoITSection,
    MultipleITSections,
    ITRemainderNotEmpty,
    CorruptedITSection(Err<(Vec<u8>, ErrorKind)>),
    IncorrectITFormat(String),
    ModuleInterfaceError(InterfaceError),
    ModuleITInterfaceError(ITInterfaceError),
    CorruptedITFile(WATError),
    CorruptedWasmFile(Error),
    AstToBytesError(IOError),
    WasmEmitError(Error),
}

Variants

NoITSection

IT section is absent.

MultipleITSections

Multiple IT sections.

ITRemainderNotEmpty

IT section remainder isn’t empty.

CorruptedITSection(Err<(Vec<u8>, ErrorKind)>)

An error occurred while parsing IT section.

Tuple Fields of CorruptedITSection

0: Err<(Vec<u8>, ErrorKind)>
IncorrectITFormat(String)

An error related to incorrect data in IT section.

Tuple Fields of IncorrectITFormat

0: String
ModuleInterfaceError(InterfaceError)

An error occurred while processing module interface.

Tuple Fields of ModuleInterfaceError

0: InterfaceError
ModuleITInterfaceError(ITInterfaceError)

An error occurred while processing module IT interface.

Tuple Fields of ModuleITInterfaceError

0: ITInterfaceError
CorruptedITFile(WATError)

An error occurred while parsing file in Wat format.

Tuple Fields of CorruptedITFile

0: WATError
CorruptedWasmFile(Error)

An error occurred while parsing Wasm file.

Tuple Fields of CorruptedWasmFile

0: Error
AstToBytesError(IOError)

An error occurred while manipulating with converting ast to bytes.

Tuple Fields of AstToBytesError

0: IOError
WasmEmitError(Error)

Wasm emitting file error.

Tuple Fields of WasmEmitError

0: Error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.