pub enum Os {
Show 16 variants
Fat,
Amiga,
Vms,
Unix,
VmCms,
AtariTos,
Hpfs,
Macintosh,
ZSystem,
CpM,
Tops20,
Ntfs,
Qdos,
AcornRiscos,
Unknown,
Undefined(u8),
}
Expand description
OS type.
Variants
Fat
FAT filesystem (MS-DOS, OS/2, NT/Win32)
Amiga
Amiga
Vms
VMS (or OpenVMS)
Unix
Unix
VmCms
VM/CMS
AtariTos
Atari TOS
Hpfs
HPFS filesystem (OS/2, NT)
Macintosh
Macintosh
ZSystem
Z-System
CpM
CP/M
Tops20
TOPS-20
Ntfs
NTFS filesystem (NT)
Qdos
QDOS
AcornRiscos
Acorn RISCOS
Unknown
Unknown
Undefined(u8)
Undefined value in RFC-1952
Implementations
Trait Implementations
impl Eq for Os
impl StructuralEq for Os
impl StructuralPartialEq for Os
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more