Enum System
#[repr(u8)]
pub enum System
System inside version made by (upper byte)
Reference: 4.4.2.2
Variants
-
Dos = 0 MS-DOSandOS/2(FAT/VFAT/FAT32file systems; default on Windows)-
Amiga = 1 Amiga-
OpenVMS = 2 OpenVMS-
Unix = 3 Default on Unix; default for symlinks on all platforms
-
VmCms = 4 VM/CMS-
AtariSt = 5 Atari ST-
Os2 = 6 OS/2 H.P.F.S.-
Macintosh = 7 Legacy
Mac OS, preOS X-
ZSystemO = 8 Z-System-
CPM = 9 CP/M-
WindowsNTFS = 10 Windows NTFS (with extra attributes; not used by default)
-
MVS = 11 MVS (OS/390 - Z/OS)-
VSE = 12 VSE-
AcornRisc = 13 Acorn Risc-
VFAT = 14 VFAT-
AlternateMVS = 15 alternate MVS
-
BeOS = 16 BeOS-
Tandem = 17 Tandem-
Os400 = 18 OS/400-
OsDarwin = 19 OS X(Darwin) (with extra attributes; not used by default)-
Unknown = 255 unused
Implementations
impl System
fn from_version_made_by(version_made_by: u16) -> SelfParse
version_made_byblock in local entry block.
Trait Implementations
impl Clone for System
fn clone(&self) -> System
impl Copy for System
impl Debug for System
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for System
fn default() -> System
impl Eq for System
impl From<u8> for System
fn from(system: u8) -> Self
impl PartialEq for System
fn eq(&self, other: &System) -> bool
impl StructuralPartialEq for System
Auto Trait Implementations
impl Freeze for System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnsafeUnpin for System
impl UnwindSafe for System
Blanket Implementations
impl<Q, K> Equivalent<K> for System
where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
impl<Q, K> Equivalent<K> for System
where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
impl<T> Any for System
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for System
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for System
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for System
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for System
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Same for System
type Output = T;
impl<T> ToOwned for System
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for System
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for System
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for System
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>