Enum rusty_fork::Error [−]
Enum for errors produced by the rusty-fork crate.
Variants
UnknownFlag(String)
An unknown flag was encountered when examining the current process's argument list.
The string is the flag that was encountered.
DisallowedFlag(String, String)
A flag was encountered when examining the current process's argument list which is known but cannot be handled in any sensible way.
The strings are the flag encountered and a human-readable message about why the flag could not be handled.
SpawnError(Error)
Spawning a subprocess failed.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
impl Display for Error
impl Error for Error
impl Error for Error
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
impl From<Error> for Error