Enum marine_module_info_parser::ModuleInfoError [−][src]
pub enum ModuleInfoError {
NoCustomSection(&'static str),
MultipleCustomSections(&'static str, usize),
VersionError(SDKVersionError),
ManifestError(ManifestError),
CorruptedWasmFile(Error),
WasmEmitError(Error),
}Variants
NoCustomSection(&'static str)Version section is absent.
Tuple Fields of NoCustomSection
0: &'static strMultiple sections with the same name.
VersionError(SDKVersionError)Errors related to corrupted version.
Tuple Fields of VersionError
ManifestError(ManifestError)Errors related to corrupted manifest.
Tuple Fields of ManifestError
CorruptedWasmFile(Error)An error occurred while parsing Wasm file.
Tuple Fields of CorruptedWasmFile
0: ErrorWasmEmitError(Error)Wasm emitting file error.
Tuple Fields of WasmEmitError
0: ErrorTrait Implementations
Performs the conversion.
Performs the conversion.