pub enum EvalSyncError {
Exec(ExecSyncError),
InvalidEvaluation(Stack),
}Expand description
Errors that might occur during synchronous evaluation.
Variants§
Exec(ExecSyncError)
An error occurred during execution.
InvalidEvaluation(Stack)
Evaluation should have resulted with a 0 (false) or 1 (true) at the
top of the stack, but did not.
Trait Implementations§
Source§impl Debug for EvalSyncError
impl Debug for EvalSyncError
Source§impl Display for EvalSyncError
impl Display for EvalSyncError
Source§impl Error for EvalSyncError
impl Error for EvalSyncError
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<ExecSyncError> for EvalSyncError
impl From<ExecSyncError> for EvalSyncError
Source§fn from(source: ExecSyncError) -> Self
fn from(source: ExecSyncError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EvalSyncError
impl !RefUnwindSafe for EvalSyncError
impl Send for EvalSyncError
impl Sync for EvalSyncError
impl Unpin for EvalSyncError
impl !UnwindSafe for EvalSyncError
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