pub enum Program {
Open,
Start,
XdgOpen,
Gio,
GnomeOpen,
KdeOpen,
WslView,
Firefox,
Chrome,
Chromium,
Safari,
}
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§
source§impl<'de> Deserialize<'de> for Program
impl<'de> Deserialize<'de> for Program
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Program
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