[][src]Enum fce_wit_parser::WITParserError

pub enum WITParserError {
    NoWITSection,
    MultipleWITSections,
    WITRemainderNotEmpty,
    CorruptedWITSection,
    CorruptedWATFile(WATError),
    CorruptedWasmFile(Error),
    AstToBytesError(StdIOError),
    WasmEmitError(Error),
}

Variants

NoWITSection

WIT section is absent.

MultipleWITSections

Multiple WIT sections.

WITRemainderNotEmpty

WIT section remainder isn't empty.

CorruptedWITSection

An error occurred while parsing WIT section.

CorruptedWATFile(WATError)

An error occurred while parsing file in Wat format.

CorruptedWasmFile(Error)

An error occurred while parsing Wasm file

AstToBytesError(StdIOError)

An error occurred while manipulating with converting ast to bytes.

WasmEmitError(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.