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
IT section is absent.
Multiple IT sections.
IT section remainder isn’t empty.
An error occurred while parsing IT section.
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
ModuleITInterfaceError(ITInterfaceError)
An error occurred while processing module IT interface.
Tuple Fields of ModuleITInterfaceError
An error occurred while parsing file in Wat format.
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
Performs the conversion.
Performs the conversion.