pub enum RunWithError {
Usage,
ReplFailed,
}Expand description
Error from run_with (usage or REPL failure).
Variants§
Trait Implementations§
Source§impl Debug for RunWithError
impl Debug for RunWithError
Source§impl Display for RunWithError
impl Display for RunWithError
Source§impl Error for RunWithError
impl Error for RunWithError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for RunWithError
impl RefUnwindSafe for RunWithError
impl Send for RunWithError
impl Sync for RunWithError
impl Unpin for RunWithError
impl UnsafeUnpin for RunWithError
impl UnwindSafe for RunWithError
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