Enum opener::OpenError[][src]

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

An IO error occurred.

The command exited with a non-zero exit status.

Fields of ExitStatus

A string that identifies the command.

The failed process's exit status.

Anything the process wrote to stderr.

Trait Implementations

impl Debug for OpenError
[src]

Formats the value using the given formatter. Read more

impl Display for OpenError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for OpenError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for OpenError

impl Sync for OpenError