pub enum Os {
Linux,
Macos,
Windows,
Freebsd,
Openbsd,
Netbsd,
Android,
Ios,
}Expand description
Supported operating systems for file naming.
These are the canonical OS names used in .env.<OS> file patterns.
Input values are normalized to these canonical forms.
Important: Canonical values must NOT contain dots to maintain unambiguous parsing.
Variants§
Linux
Linux
Matches: linux
Macos
macOS / Darwin
Matches: macos, darwin, osx
Windows
Windows
Matches: windows, win32, win
Freebsd
FreeBSD
Matches: freebsd
Openbsd
OpenBSD
Matches: openbsd
Netbsd
NetBSD
Matches: netbsd
Android
Android
Matches: android
Ios
iOS
Matches: ios
Implementations§
Trait Implementations§
impl Copy for Os
impl Eq for Os
impl StructuralPartialEq for Os
Auto Trait Implementations§
impl Freeze for Os
impl RefUnwindSafe for Os
impl Send for Os
impl Sync for Os
impl Unpin for Os
impl UnsafeUnpin for Os
impl UnwindSafe for Os
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