Enum fce_module_manifest_parser::ManifestError[][src]

pub enum ManifestError {
    NotEnoughBytesForPrefix(&'static str),
    NotEnoughBytesForField(&'static strusize),
    FieldNotValidUtf8(&'static strUtf8Error),
    TooBigFieldSize(&'static stru64),
    ModuleVersionCorrupted(SemVerError),
    ManifestRemainderNotEmpty,
}

Variants

NotEnoughBytesForPrefix(&'static str)

Manifest of a Wasm file doesn’t have enough bytes to read size of a field from its prefix.

NotEnoughBytesForField(&'static strusize)

Manifest of a Wasm file doesn’t have enough bytes to read a field.

FieldNotValidUtf8(&'static strUtf8Error)

Manifest of a Wasm file doesn’t have enough bytes to read field.

TooBigFieldSize(&'static stru64)

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.

ManifestRemainderNotEmpty

Manifest contains some trailing characters.

Trait Implementations

impl Debug for ManifestError[src]

impl Display for ManifestError[src]

impl Error for ManifestError[src]

impl From<ManifestError> for ModuleInfoError[src]

impl From<SemVerError> for ManifestError[src]

impl PartialEq<ManifestError> for ManifestError[src]

impl StructuralPartialEq for ManifestError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.