pub enum EvalError {
Build(String),
Other(OtherFailure),
ProgReturnedError(String),
}
Expand description
Type of errors that can occur when calling eval
.
Variants§
Build(String)
The string contains the build messages.
Other(OtherFailure)
Other type of error.
ProgReturnedError(String)
The string contains what was written by the program to stderr.
Trait Implementations§
Source§impl Error for EvalError
impl Error for EvalError
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for EvalError
impl !RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl !UnwindSafe for EvalError
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