Enum pwasm_utils::PackingError [−][src]
pub enum PackingError {
MalformedModule,
NoTypeSection,
NoExportSection,
NoCodeSection,
InvalidCreateSignature(&'static str),
NoCreateSymbol(&'static str),
InvalidCreateMember(&'static str),
NoImportSection,
}Expand description
Pack error.
Pack has number of assumptions of passed module structure. When they are violated, pack_instance returns one of these.
Variants
InvalidCreateSignature(&'static str)Tuple Fields of InvalidCreateSignature
0: &'static strNoCreateSymbol(&'static str)Tuple Fields of NoCreateSymbol
0: &'static strInvalidCreateMember(&'static str)Tuple Fields of InvalidCreateMember
0: &'static str