#[repr(u32)]
pub enum NtfsAttributeType {
Show 17 variants StandardInformation, AttributeList, FileName, ObjectId, SecurityDescriptor, VolumeName, VolumeInformation, Data, IndexRoot, IndexAllocation, Bitmap, ReparsePoint, EAInformation, EA, PropertySet, LoggedUtilityStream, End,
}
Expand description

All known NTFS Attribute types.

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

Variants§

§

StandardInformation

$STANDARD_INFORMATION, see NtfsStandardInformation.

§

AttributeList

$ATTRIBUTE_LIST, see NtfsAttributeList.

§

FileName

$FILE_NAME, see NtfsFileName.

§

ObjectId

$OBJECT_ID, see NtfsObjectId.

§

SecurityDescriptor

$SECURITY_DESCRIPTOR

§

VolumeName

$VOLUME_NAME, see NtfsVolumeName.

§

VolumeInformation

$VOLUME_INFORMATION, see NtfsVolumeInformation.

§

Data

$DATA, see NtfsFile::data.

§

IndexRoot

$INDEX_ROOT, see NtfsIndexRoot.

§

IndexAllocation

$INDEX_ALLOCATION, see NtfsIndexAllocation.

§

Bitmap

$BITMAP

§

ReparsePoint

$REPARSE_POINT

§

EAInformation

$EA_INFORMATION

§

EA

$EA

§

PropertySet

$PROPERTY_SET

§

LoggedUtilityStream

$LOGGED_UTILITY_STREAM

§

End

Marks the end of the valid attributes.

Implementations§

source§

impl NtfsAttributeType

source

pub fn n(value: u32) -> Option<Self>

Trait Implementations§

source§

impl Clone for NtfsAttributeType

source§

fn clone(&self) -> NtfsAttributeType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NtfsAttributeType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for NtfsAttributeType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl PartialEq<NtfsAttributeType> for NtfsAttributeType

source§

fn eq(&self, other: &NtfsAttributeType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for NtfsAttributeType

source§

impl Eq for NtfsAttributeType

source§

impl StructuralEq for NtfsAttributeType

source§

impl StructuralPartialEq for NtfsAttributeType

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CustomError for Twhere T: Display + Debug + Send + Sync + 'static,

source§

fn as_any(&self) -> &(dyn Any + Send + Sync + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + Send + Sync + 'static)

source§

fn as_box_any(self: Box<T, Global>) -> Box<dyn Any + Send + Sync, Global>

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.