pub enum RobotError {
NotFound,
Io(Error),
Failed {
code: i32,
stderr: String,
},
Run(String),
}Variants§
Trait Implementations§
Source§impl Debug for RobotError
impl Debug for RobotError
Source§impl Display for RobotError
impl Display for RobotError
Source§impl Error for RobotError
impl Error for RobotError
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 !RefUnwindSafe for RobotError
impl !UnwindSafe for RobotError
impl Freeze for RobotError
impl Send for RobotError
impl Sync for RobotError
impl Unpin for RobotError
impl UnsafeUnpin for RobotError
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