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§
Auto Trait Implementations§
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more