Enum exec::ExecError
[−]
[src]
#[must_use]
pub enum ExecError {
BadArgument(NulError),
Errno(Errno),
}Represents an error calling exec.
This is marked #[must_use], which is unusual for error types.
Normally, the fact that Result is marked in this fashion is
sufficient, but in this case, this error is returned bare from
functions that only return a result if they fail.
Variants
BadArgument(NulError)One of the strings passed to execv contained an internal null byte
and can't be passed correctly to C.
Errno(Errno)An error was returned by the system.
Trait Implementations
impl Debug for ExecError[src]
impl Error for ExecError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more