pub enum DFWasmError {
ReadError(BinaryReaderError),
UnsupportedVersion(u16),
UnsupportedComponents,
UnsupportedTags,
UnsupportedConstExpr,
UnsupportedOperator {
op: String,
location: usize,
},
MaximumTableSize,
MultipleMemories,
MultipleStartMethods,
UnknownSection(u8),
UnknownPayload,
NotYetImplemented(&'static str),
}Variants§
ReadError(BinaryReaderError)
UnsupportedVersion(u16)
UnsupportedComponents
UnsupportedTags
UnsupportedConstExpr
UnsupportedOperator
MaximumTableSize
MultipleMemories
MultipleStartMethods
UnknownSection(u8)
UnknownPayload
NotYetImplemented(&'static str)
Trait Implementations§
Source§impl Debug for DFWasmError
impl Debug for DFWasmError
Source§impl Display for DFWasmError
impl Display for DFWasmError
Source§impl Error for DFWasmError
impl Error for DFWasmError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BinaryReaderError> for DFWasmError
impl From<BinaryReaderError> for DFWasmError
Source§fn from(source: BinaryReaderError) -> Self
fn from(source: BinaryReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DFWasmError
impl RefUnwindSafe for DFWasmError
impl Send for DFWasmError
impl Sync for DFWasmError
impl Unpin for DFWasmError
impl UnwindSafe for DFWasmError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more