pub enum Error {
Compilation(Vec<Ranged<Error>>),
Execution(ExecutionError),
}Expand description
One or more errors raised during compilation or execution.
Variants§
Compilation(Vec<Ranged<Error>>)
A list of compilation errors.
Execution(ExecutionError)
An execution error.
Trait Implementations§
source§impl From<ExecutionError> for Error
impl From<ExecutionError> for Error
source§fn from(value: ExecutionError) -> Self
fn from(value: ExecutionError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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
§impl<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)