pub struct ExecError<C: CustomTypes<S>, S: System<C>> {
pub cause: ErrorCause<C, S>,
pub pos: usize,
}
Expand description
An execution error from a Process
(see Process::step
).
This consists of an ErrorCause
value describing the cause, as well as the bytecode location of the error.
By using the Locations
information from ByteCode::compile
, it is possible to determine
a human-readable error location in the original program.
Fields§
§cause: ErrorCause<C, S>
§pos: usize
Trait Implementations§
Auto Trait Implementations§
impl<C, S> Freeze for ExecError<C, S>
impl<C, S> RefUnwindSafe for ExecError<C, S>
impl<C, S> Send for ExecError<C, S>
impl<C, S> Sync for ExecError<C, S>
impl<C, S> Unpin for ExecError<C, S>
impl<C, S> UnwindSafe for ExecError<C, S>
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