pub enum ExecutorError {
MissingProgram(OsString),
SpawnFailure(Error),
Failure(SysexitsError, Option<String>),
UnexpectedFailure(Option<i32>, Option<String>),
UnexpectedOther(Error),
}Variants§
MissingProgram(OsString)
SpawnFailure(Error)
Failure(SysexitsError, Option<String>)
UnexpectedFailure(Option<i32>, Option<String>)
UnexpectedOther(Error)
Trait Implementations§
Source§impl Debug for ExecutorError
impl Debug for ExecutorError
Source§impl Display for ExecutorError
impl Display for ExecutorError
Source§impl Error for ExecutorError
impl Error for ExecutorError
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()
Source§impl From<Error> for ExecutorError
Available on crate feature std only.
impl From<Error> for ExecutorError
Available on crate feature
std only.Source§impl From<ExitStatus> for ExecutorError
Available on crate feature std only.
impl From<ExitStatus> for ExecutorError
Available on crate feature
std only.Source§fn from(status: ExitStatus) -> Self
fn from(status: ExitStatus) -> Self
Converts to this type from the input type.
Source§impl From<Output> for ExecutorError
Available on crate feature std only.
impl From<Output> for ExecutorError
Available on crate feature
std only.impl Adapter<Cursor<Vec<u8>>, ExecutorError> for Adapter
impl Cataloger<Cursor<Vec<u8>>, ExecutorError> for Cataloger
impl Emitter<Cursor<Vec<u8>>, ExecutorError> for Emitter
impl Fetcher<Cursor<Vec<u8>>, ExecutorError> for Fetcher
impl Indexer<ExecutorError> for Indexer
impl Prompter<String, ExecutorError> for Prompter
impl Reader<Cursor<Vec<u8>>, ExecutorError> for Reader
impl Reasoner<Cursor<Vec<u8>>, ExecutorError> for Reasoner
impl Resolver<Vec<String>, ExecutorError> for Resolver
impl Runner<Cursor<Vec<u8>>, ExecutorError> for Runner
impl Writer<Cursor<Vec<u8>>, ExecutorError> for Writer
Auto Trait Implementations§
impl Freeze for ExecutorError
impl !RefUnwindSafe for ExecutorError
impl Send for ExecutorError
impl Sync for ExecutorError
impl Unpin for ExecutorError
impl !UnwindSafe for ExecutorError
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