[][src]Struct mft::attribute::header::NonResidentHeader

pub struct NonResidentHeader {
    pub vnc_first: u64,
    pub vnc_last: u64,
    pub datarun_offset: u16,
    pub unit_compression_size: u16,
    pub padding: u32,
    pub allocated_length: u64,
    pub file_size: u64,
    pub valid_data_length: u64,
    pub total_allocated: Option<u64>,
}

Fields

vnc_first: u64

The lowest virtual cluster number (VCN) covered by this attribute record.

vnc_last: u64

The highest VCN covered by this attribute record.

datarun_offset: u16

The offset to the mapping pairs array from the start of the attribute record, in bytes. For more information, see Remarks.

unit_compression_size: u16

Reserved UCHAR[6]

padding: u32allocated_length: u64

The allocated size of the file, in bytes. This value is an even multiple of the cluster size. This member is not valid if the LowestVcn member is nonzero.

file_size: u64valid_data_length: u64

Contains the valid data size in number of bytes. This value is not valid if the first VCN is nonzero.

total_allocated: Option<u64>

Methods

impl NonResidentHeader[src]

Trait Implementations

impl Clone for NonResidentHeader[src]

impl Debug for NonResidentHeader[src]

impl Serialize for NonResidentHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,