pub enum Program {
    Open,
    Start,
    XdgOpen,
    Gio,
    GnomeOpen,
    KdeOpen,
    WslView,
    Firefox,
    Chrome,
    Chromium,
    Safari,
}
Available on crate feature shell-open-api only.
Expand description

Program to use on the open() call.

Variants

Open

Use the open program.

Start

Use the start program.

XdgOpen

Use the xdg-open program.

Gio

Use the gio program.

GnomeOpen

Use the gnome-open program.

KdeOpen

Use the kde-open program.

WslView

Use the wslview program.

Firefox

Use the Firefox program.

Chrome

Use the Google Chrome program.

Chromium

Use the Chromium program.

Safari

Use the Safari program.

Trait Implementations

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.