Trait run_shell::ShellResultExt
source · [−]pub trait ShellResultExt {
fn from_status(command: String, status: ExitStatus) -> Self;
fn status(self) -> Result<ExitStatus, ShellError>;
fn code(&self) -> u8;
}
pub trait ShellResultExt {
fn from_status(command: String, status: ExitStatus) -> Self;
fn status(self) -> Result<ExitStatus, ShellError>;
fn code(&self) -> u8;
}