Enum fce_wit_parser::WITParserError[][src]

pub enum WITParserError {
    NoITSection,
    MultipleITSections,
    ITRemainderNotEmpty,
    CorruptedITSection(Err<(Vec<u8>, ErrorKind)>),
    IncorrectITFormat(String),
    CorruptedITFile(WATError),
    CorruptedWasmFile(Error),
    AstToBytesError(IOError),
    WasmEmitError(Error),
}

Variants

NoITSection

WIT section is absent.

MultipleITSections

Multiple WIT sections.

ITRemainderNotEmpty

WIT section remainder isn’t empty.

CorruptedITSection(Err<(Vec<u8>, ErrorKind)>)

An error occurred while parsing WIT section.

IncorrectITFormat(String)

An error related to incorrect data of wit section.

CorruptedITFile(WATError)

An error occurred while parsing file in Wat format.

CorruptedWasmFile(Error)

An error occurred while parsing Wasm file.

AstToBytesError(IOError)

An error occurred while manipulating with converting ast to bytes.

WasmEmitError(Error)

Wasm emitting file error.

Trait Implementations

impl Debug for WITParserError[src]

impl Display for WITParserError[src]

impl Error for WITParserError[src]

impl From<Error> for WITParserError[src]

impl From<Error> for WITParserError[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> Same<T> for T

type Output = T

Should always be Self

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.