pub enum CouldNotExecute {
CouldNotFork {
source: Error,
},
NullInString {
string: String,
source: NulError,
},
ExecutableNotFound(PathBuf),
CouldNotTrace {
pid: Pid,
source: Error,
},
InvalidUTF8Path(PathBuf),
}Expand description
Error occuring while trying to execute a program.
Variants§
CouldNotFork
The steroid client could not fork.
NullInString
An argument given to the soon-to-be-executed process contained a null byte, which is valid
in a rust String but not in a C string.
ExecutableNotFound(PathBuf)
The executable file was not found.
CouldNotTrace
The remote process could not be traced.
InvalidUTF8Path(PathBuf)
The path to the executable file is not a valid utf8 string.
Trait Implementations§
Source§impl Debug for CouldNotExecute
impl Debug for CouldNotExecute
Source§impl Display for CouldNotExecute
impl Display for CouldNotExecute
Source§impl Error for CouldNotExecute
impl Error for CouldNotExecute
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 CouldNotExecute
impl !RefUnwindSafe for CouldNotExecute
impl Send for CouldNotExecute
impl Sync for CouldNotExecute
impl Unpin for CouldNotExecute
impl !UnwindSafe for CouldNotExecute
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