Enum rust_shell::ShellError
source · pub enum ShellError {
Status(String, ExitStatus),
IoError(Error),
VarError(VarError),
Errno(&'static str, Errno),
NoSuchProcess,
}
Variants§
Status(String, ExitStatus)
IoError(Error)
VarError(VarError)
Errno(&'static str, Errno)
NoSuchProcess
Implementations§
source§impl ShellError
impl ShellError
pub fn from_signal(command: String, signal: u8) -> Self
Trait Implementations§
source§impl Debug for ShellError
impl Debug for ShellError
source§impl From<Error> for ShellError
impl From<Error> for ShellError
source§fn from(error: Error) -> ShellError
fn from(error: Error) -> ShellError
Converts to this type from the input type.
source§impl From<VarError> for ShellError
impl From<VarError> for ShellError
source§fn from(error: VarError) -> ShellError
fn from(error: VarError) -> ShellError
Converts to this type from the input type.