Enum run_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
sourceimpl ShellError
impl ShellError
pub fn from_signal(command: String, signal: u8) -> Self
Trait Implementations
sourceimpl Debug for ShellError
impl Debug for ShellError
sourceimpl From<Error> for ShellError
impl From<Error> for ShellError
sourcefn from(error: Error) -> ShellError
fn from(error: Error) -> ShellError
Converts to this type from the input type.
sourceimpl From<VarError> for ShellError
impl From<VarError> for ShellError
sourcefn from(error: VarError) -> ShellError
fn from(error: VarError) -> ShellError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ShellError
impl Send for ShellError
impl Sync for ShellError
impl Unpin for ShellError
impl !UnwindSafe for ShellError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more