#[non_exhaustive]pub enum BrowserStatus {
Default,
NotDefault,
Unknown,
}Expand description
(default_browser_status) is the app the system’s web browser
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
web addresses (http and https) open with this app
NotDefault
with another program (or the app is no browser: PACKAGE without browser=1)
Unknown
the system does not say: no default set (Linux), or not to be found out here (a Flatpak, the browser, Android, iOS)
Trait Implementations§
Source§impl Clone for BrowserStatus
impl Clone for BrowserStatus
Source§fn clone(&self) -> BrowserStatus
fn clone(&self) -> BrowserStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BrowserStatus
Source§impl Debug for BrowserStatus
impl Debug for BrowserStatus
impl Eq for BrowserStatus
Source§impl PartialEq for BrowserStatus
impl PartialEq for BrowserStatus
impl StructuralPartialEq for BrowserStatus
Auto Trait Implementations§
impl Forget for BrowserStatus
impl Freeze for BrowserStatus
impl Move for BrowserStatus
impl RefUnwindSafe for BrowserStatus
impl Send for BrowserStatus
impl Sync for BrowserStatus
impl Unpin for BrowserStatus
impl UnsafeUnpin for BrowserStatus
impl UnwindSafe for BrowserStatus
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