pub enum Program {
Open,
Start,
XdgOpen,
Gio,
GnomeOpen,
KdeOpen,
WslView,
Firefox,
Chrome,
Chromium,
Safari,
}
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Expand description
Program to use on the open()
call.
Variants§
Open
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the open
program.
Start
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the start
program.
XdgOpen
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the xdg-open
program.
Gio
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the gio
program.
GnomeOpen
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the gnome-open
program.
KdeOpen
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the kde-open
program.
WslView
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the wslview
program.
Firefox
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the Firefox
program.
Chrome
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the Google Chrome
program.
Chromium
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
Use the Chromium
program.
Safari
👎Deprecated since 2.1.0: Use tauri-plugin-opener instead.
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