pub enum TranslatorError {
WasmParserError(BinaryReaderError),
NoMutationsApplicable,
Error(String),
}Variants§
Trait Implementations§
Source§impl Clone for TranslatorError
impl Clone for TranslatorError
Source§fn clone(&self) -> TranslatorError
fn clone(&self) -> TranslatorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranslatorError
impl Debug for TranslatorError
Source§impl From<BinaryReaderError> for TranslatorError
impl From<BinaryReaderError> for TranslatorError
Source§fn from(err: BinaryReaderError) -> TranslatorError
fn from(err: BinaryReaderError) -> TranslatorError
Converts to this type from the input type.
Source§impl From<TranslatorError> for Error
impl From<TranslatorError> for Error
Source§fn from(err: TranslatorError) -> Error
fn from(err: TranslatorError) -> Error
Converts to this type from the input type.
Source§impl From<TranslatorError> for ModuleInfoError
impl From<TranslatorError> for ModuleInfoError
Source§fn from(err: TranslatorError) -> ModuleInfoError
fn from(err: TranslatorError) -> ModuleInfoError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TranslatorError
impl RefUnwindSafe for TranslatorError
impl Send for TranslatorError
impl Sync for TranslatorError
impl Unpin for TranslatorError
impl UnsafeUnpin for TranslatorError
impl UnwindSafe for TranslatorError
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