[][src]Enum opener::OpenError

pub enum OpenError {
    Io(Error),
    ExitStatus {
        cmd: &'static str,
        status: ExitStatus,
        stderr: String,
    },
}

An error type representing the failure to open a path. Possibly returned by the open function.

The ExitStatus variant will never be returned on Windows.

Variants

Io(Error)

An IO error occurred.

ExitStatus

The command exited with a non-zero exit status.

Fields of ExitStatus

cmd: &'static str

A string that identifies the command.

status: ExitStatus

The failed process's exit status.

stderr: String

Anything the process wrote to stderr.

Trait Implementations

impl From<Error> for OpenError[src]

impl Debug for OpenError[src]

impl Display for OpenError[src]

impl Error for OpenError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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