[][src]Enum mapped_command::CommandExecutionWithStringOutputError

pub enum CommandExecutionWithStringOutputError {
    Io(Error),
    UnexpectedExitStatus(UnexpectedExitStatus),
    Utf8Error(FromUtf8Error),
}

Error from running a command which maps (some) outputs to strings.

Variants

Io(Error)

Spawning failed or bad exit code.

UnexpectedExitStatus(UnexpectedExitStatus)

Run into an unexpected exit status.

Utf8Error(FromUtf8Error)

Utf8 validation failed.

Trait Implementations

impl Debug for CommandExecutionWithStringOutputError[src]

impl Display for CommandExecutionWithStringOutputError[src]

impl Error for CommandExecutionWithStringOutputError[src]

impl From<Error> for CommandExecutionWithStringOutputError[src]

impl From<FromUtf8Error> for CommandExecutionWithStringOutputError[src]

impl From<UnexpectedExitStatus> for CommandExecutionWithStringOutputError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.