Enum rune::IrErrorKind [−][src]
Error when encoding AST.
Variants
Fields of Custom
message: &'static str
A scope error.
Fields of ScopeError
error: ScopeErrorKind
The kind of the scope error.
An access error raised during compilation.
Fields of AccessError
error: AccessError
The source error.
An access error raised during queries.
Fields of QueryError
error: Box<QueryErrorKind>
The source error.
Fields of ResolveError
error: ResolveErrorKind
Encountered an expression that is not supported as a constant expression.
Trying to process a cycle of constants.
Encountered a compile meta used in an inappropriate position.
Fields of UnsupportedMeta
meta: CompileMeta
Unsupported compile meta.
A constant evaluation errored.
Exceeded evaluation budget.
Integer underflow.
Missing a tuple index.
Fields of MissingIndex
index: usize
The index that was missing.
Missing an object field.
Missing local with the given name.
Missing const or local with the given name.
Error raised when trying to use a break outside of a loop.
Fields of NotInteger
value: BigInt
Trait Implementations
impl Debug for IrErrorKind
[src]
impl Display for IrErrorKind
[src]
impl Error for IrErrorKind
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<AccessError> for IrErrorKind
[src]
fn from(source: AccessError) -> Self
[src]
impl From<Box<QueryErrorKind, Global>> for IrErrorKind
[src]
fn from(source: Box<QueryErrorKind>) -> Self
[src]
impl From<IrErrorKind> for CompileErrorKind
[src]
fn from(source: IrErrorKind) -> Self
[src]
impl From<IrErrorKind> for QueryErrorKind
[src]
fn from(source: IrErrorKind) -> Self
[src]
impl From<ResolveErrorKind> for IrErrorKind
[src]
fn from(source: ResolveErrorKind) -> Self
[src]
impl From<ScopeErrorKind> for IrErrorKind
[src]
fn from(source: ScopeErrorKind) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for IrErrorKind
impl Send for IrErrorKind
impl Sync for IrErrorKind
impl Unpin for IrErrorKind
impl UnwindSafe for IrErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,