pub enum JitError {
Show 14 variants
ParseError(ParseError),
RpnConstruction(RPNError),
ParseUnknownToken(String),
ParseUnknownVariable(String),
ParseUnknownBinop(String),
ParseUnknownUnop(String),
ParseUnknownFunc(String),
CompileUknownFunc(String),
CompileFuncArgsMismatch(String, usize, usize),
CompileInternal(&'static str),
CraneliftSetting(SetError),
CraneliftModule(ModuleError),
CraneliftHostUnsupported(&'static str),
CraneliftCodegenError(CodegenError),
}
Variants§
ParseError(ParseError)
RpnConstruction(RPNError)
ParseUnknownToken(String)
ParseUnknownVariable(String)
ParseUnknownBinop(String)
ParseUnknownUnop(String)
ParseUnknownFunc(String)
CompileUknownFunc(String)
CompileFuncArgsMismatch(String, usize, usize)
CompileInternal(&'static str)
CraneliftSetting(SetError)
CraneliftModule(ModuleError)
CraneliftHostUnsupported(&'static str)
CraneliftCodegenError(CodegenError)
Trait Implementations§
Source§impl Error for JitError
impl Error for JitError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CodegenError> for JitError
impl From<CodegenError> for JitError
Source§fn from(source: CodegenError) -> Self
fn from(source: CodegenError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleError> for JitError
impl From<ModuleError> for JitError
Source§fn from(source: ModuleError) -> Self
fn from(source: ModuleError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for JitError
impl From<ParseError> for JitError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JitError
impl !RefUnwindSafe for JitError
impl Send for JitError
impl Sync for JitError
impl Unpin for JitError
impl !UnwindSafe for JitError
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