Enum os_version::OsVersion [−][src]
#[non_exhaustive] pub enum OsVersion { Linux(Linux), MacOS(MacOS), Windows(Windows), Android(Android), OpenBSD(OpenBSD), Unknown, }
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.
Linux(Linux)
MacOS(MacOS)
Windows(Windows)
Android(Android)
OpenBSD(OpenBSD)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OsVersion
impl UnwindSafe for OsVersion