Enum marine_it_parser::ITParserError [−][src]
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
IT section is absent.
Multiple IT sections.
IT section remainder isn’t empty.
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.
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 ITParserError
[src]
impl Debug for ITParserError
[src]impl Display for ITParserError
[src]
impl Display for ITParserError
[src]impl Error for ITParserError
[src]
impl Error for ITParserError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<Error> for ITParserError
[src]
impl From<Error> for ITParserError
[src]impl From<Error> for ITParserError
[src]
impl From<Error> for ITParserError
[src]impl From<ITInterfaceError> for ITParserError
[src]
impl From<ITInterfaceError> for ITParserError
[src]fn from(source: ITInterfaceError) -> Self
[src]
fn from(source: ITInterfaceError) -> Self
[src]Performs the conversion.
impl From<InterfaceError> for ITParserError
[src]
impl From<InterfaceError> for ITParserError
[src]fn from(source: InterfaceError) -> Self
[src]
fn from(source: InterfaceError) -> Self
[src]Performs the conversion.
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self