Enum pwasm_utils::PackingError [−][src]
pub enum PackingError {
MalformedModule,
NoTypeSection,
NoExportSection,
NoCodeSection,
InvalidCreateSignature(&'static str),
NoCreateSymbol(&'static str),
InvalidCreateMember(&'static str),
NoImportSection,
}Pack error.
Pack has number of assumptions of passed module structure. When they are violated, pack_instance returns one of these.
Variants
MalformedModuleNoTypeSectionNoExportSectionNoCodeSectionInvalidCreateSignature(&'static str)NoCreateSymbol(&'static str)InvalidCreateMember(&'static str)NoImportSection
Trait Implementations
impl From<PackingError> for Error[src]
impl From<PackingError> for Errorfn from(err: PackingError) -> Self[src]
fn from(err: PackingError) -> SelfPerforms the conversion.
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for ErrorAuto Trait Implementations
impl Send for PackingError
impl Send for PackingErrorimpl Sync for PackingError
impl Sync for PackingError