pub trait ShellResultExt {
// Required methods
fn from_status(command: String, status: ExitStatus) -> Self;
fn status(self) -> Result<ExitStatus, ShellError>;
fn code(&self) -> u8;
}
Required Methods§
fn from_status(command: String, status: ExitStatus) -> Self
fn status(self) -> Result<ExitStatus, ShellError>
fn code(&self) -> u8
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.