Enum KnownNtfsFileRecordNumber

Source
#[repr(u64)]
pub enum KnownNtfsFileRecordNumber { MFT = 0, MFTMirr = 1, LogFile = 2, Volume = 3, AttrDef = 4, RootDirectory = 5, Bitmap = 6, Boot = 7, BadClus = 8, Secure = 9, UpCase = 10, Extend = 11, }
Expand description

A list of standardized NTFS File Record Numbers.

Most of these files store internal NTFS housekeeping information.

Reference: https://flatcap.github.io/linux-ntfs/ntfs/files/index.html

Variants§

§

MFT = 0

A back-reference to the Master File Table (MFT).

Leads to the same File Record as Ntfs::mft_position.

§

MFTMirr = 1

A mirror copy of the Master File Table (MFT).

§

LogFile = 2

§

Volume = 3

File containing basic filesystem information and the user-defined volume name.

You can easily access that information via Ntfs::volume_info and Ntfs::volume_name.

§

AttrDef = 4

File defining all attributes supported by this NTFS filesystem.

Reference: https://flatcap.github.io/linux-ntfs/ntfs/files/attrdef.html

§

RootDirectory = 5

The root directory of the filesystem.

You can easily access it via Ntfs::root_directory.

§

Bitmap = 6

§

Boot = 7

A back-reference to the boot sector of the filesystem.

§

BadClus = 8

A file consisting of Data Runs to bad cluster ranges.

Reference: https://flatcap.github.io/linux-ntfs/ntfs/files/badclus.html

§

Secure = 9

A list of all Security Descriptors used by this filesystem.

Reference: https://flatcap.github.io/linux-ntfs/ntfs/files/secure.html

§

UpCase = 10

The $UpCase file that contains a table of all uppercase characters for the 65536 characters of the Unicode Basic Multilingual Plane.

NTFS uses this table to perform case-insensitive comparisons.

§

Extend = 11

A directory of further files containing housekeeping information.

Reference: https://flatcap.github.io/linux-ntfs/ntfs/files/extend.html

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.