Enum marine_it_parser::ITParserError
source · [−]pub enum ITParserError {
NoITSection,
MultipleITSections,
ITRemainderNotEmpty,
CorruptedITSection(Err<(Vec<u8>, ErrorKind)>),
IncorrectITFormat(String),
ModuleInterfaceError(InterfaceError),
ModuleITInterfaceError(ITInterfaceError),
CorruptedITFile(WATError),
CorruptedWasmFile(Error),
AstToBytesError(IOError),
WasmEmitError(Error),
}Variants
NoITSection
IT section is absent.
MultipleITSections
Multiple IT sections.
ITRemainderNotEmpty
IT section remainder isn’t empty.
CorruptedITSection(Err<(Vec<u8>, ErrorKind)>)
An error occurred while parsing IT section.
IncorrectITFormat(String)
An error related to incorrect data in IT section.
ModuleInterfaceError(InterfaceError)
An error occurred while processing module interface.
ModuleITInterfaceError(ITInterfaceError)
An error occurred while processing module IT interface.
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
sourceimpl Debug for ITParserError
impl Debug for ITParserError
sourceimpl Display for ITParserError
impl Display for ITParserError
sourceimpl Error for ITParserError
impl Error for ITParserError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for ITParserError
impl From<Error> for ITParserError
sourceimpl From<Error> for ITParserError
impl From<Error> for ITParserError
sourceimpl From<ITInterfaceError> for ITParserError
impl From<ITInterfaceError> for ITParserError
sourcefn from(source: ITInterfaceError) -> Self
fn from(source: ITInterfaceError) -> Self
Converts to this type from the input type.
sourceimpl From<InterfaceError> for ITParserError
impl From<InterfaceError> for ITParserError
sourcefn from(source: InterfaceError) -> Self
fn from(source: InterfaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ITParserError
impl Send for ITParserError
impl Sync for ITParserError
impl Unpin for ITParserError
impl !UnwindSafe for ITParserError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more