Enum fce_module_info_parser::manifest::ManifestError [−][src]
pub enum ManifestError { NotEnoughBytesForPrefix(&'static str), NotEnoughBytesForField(&'static str, usize), FieldNotValidUtf8(&'static str, Utf8Error), TooBigFieldSize(&'static str, u64), ModuleVersionCorrupted(SemVerError), ManifestRemainderNotEmpty, DateTimeParseError(ParseError), }
Variants
NotEnoughBytesForPrefix(&'static str)
Manifest of a Wasm file doesn’t have enough bytes to read size of a field from its prefix.
Manifest of a Wasm file doesn’t have enough bytes to read a field.
Manifest of a Wasm file doesn’t have enough bytes to read field.
Size inside prefix of a field is too big (it exceeds usize or overflows with prefix size).
ModuleVersionCorrupted(SemVerError)
Version can’t be parsed with semver.
Manifest contains some trailing characters.
DateTimeParseError(ParseError)
Error occurred while parsing embedded build time.
Trait Implementations
impl Error for ManifestError
[src]
impl Error for ManifestError
[src]impl From<ManifestError> for ModuleInfoError
[src]
impl From<ManifestError> for ModuleInfoError
[src]fn from(source: ManifestError) -> Self
[src]
impl From<ParseError> for ManifestError
[src]
impl From<ParseError> for ManifestError
[src]fn from(source: ParseError) -> Self
[src]
impl From<SemVerError> for ManifestError
[src]
impl From<SemVerError> for ManifestError
[src]fn from(source: SemVerError) -> Self
[src]
impl PartialEq<ManifestError> for ManifestError
[src]
impl PartialEq<ManifestError> for ManifestError
[src]fn eq(&self, other: &ManifestError) -> bool
[src]
fn ne(&self, other: &ManifestError) -> bool
[src]
impl StructuralPartialEq for ManifestError
[src]
impl StructuralPartialEq for ManifestError
[src]Auto Trait Implementations
impl RefUnwindSafe for ManifestError
impl RefUnwindSafe for ManifestError
impl Send for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl Unpin for ManifestError
impl UnwindSafe for ManifestError
impl UnwindSafe for ManifestError