Enum polkavm::ExecutionError
source · pub enum ExecutionError<T> {
Trap(Trap),
Error(T),
OutOfGas,
}
Variants§
Trait Implementations§
source§impl<T> Debug for ExecutionError<T>where
T: Debug,
impl<T> Debug for ExecutionError<T>where
T: Debug,
source§impl<T> Display for ExecutionError<T>where
T: Display,
impl<T> Display for ExecutionError<T>where
T: Display,
source§impl<T> From<T> for ExecutionError<T>
impl<T> From<T> for ExecutionError<T>
source§fn from(error: T) -> ExecutionError<T>
fn from(error: T) -> ExecutionError<T>
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ExecutionError<T>where
T: Freeze,
impl<T> RefUnwindSafe for ExecutionError<T>where
T: RefUnwindSafe,
impl<T> Send for ExecutionError<T>where
T: Send,
impl<T> Sync for ExecutionError<T>where
T: Sync,
impl<T> Unpin for ExecutionError<T>where
T: Unpin,
impl<T> UnwindSafe for ExecutionError<T>where
T: UnwindSafe,
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