#[non_exhaustive]pub enum OsScope {
Show 16 variants
All,
Win7Plus,
Win8Plus,
Win10Plus,
Win11Plus,
Win11_22H2,
Linux,
LinuxSystemd,
LinuxDebian,
LinuxRhel,
MacOS,
MacOS12Plus,
MacOS13Plus,
MacOS14Plus,
IOS,
Android,
}Expand description
Minimum OS version / platform required for the artifact to exist.
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.
All
All Windows versions (XP and later). Windows-only — not cross-platform.
Win7Plus
Windows 7 and later.
Win8Plus
Windows 8 and later.
Win10Plus
Windows 10 and later.
Win11Plus
Windows 11 and later.
Win11_22H2
Windows 11 22H2 and later.
Linux
All Linux distributions (kernel + standard POSIX userland).
LinuxSystemd
systemd-based distros (Ubuntu 16.04+, Fedora 15+, Debian 8+, Arch).
LinuxDebian
Debian / Ubuntu specific paths or tools.
LinuxRhel
Red Hat / CentOS / Fedora specific paths.
MacOS
All macOS versions (10.x+).
MacOS12Plus
macOS 12 Monterey and later.
MacOS13Plus
macOS 13 Ventura and later.
MacOS14Plus
macOS 14 Sonoma and later.
IOS
Apple iOS (all versions).
Android
Android (all versions).
Implementations§
Trait Implementations§
impl Copy for OsScope
impl Eq for OsScope
impl StructuralPartialEq for OsScope
Auto Trait Implementations§
impl Freeze for OsScope
impl RefUnwindSafe for OsScope
impl Send for OsScope
impl Sync for OsScope
impl Unpin for OsScope
impl UnsafeUnpin for OsScope
impl UnwindSafe for OsScope
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