Struct ntfs_reader::api::BootSector

source ·
#[repr(C, packed)]
pub struct BootSector { pub crap_0: [u8; 11], pub sector_size: u16, pub sectors_per_cluster: u8, pub crap_1: [u8; 26], pub total_sectors: u64, pub mft_lcn: u64, pub mft_lcn_mirror: u64, pub file_record_size_info: i8, pub crap_2: [u8; 447], }

Fields

crap_0: [u8; 11]sector_size: u16sectors_per_cluster: u8crap_1: [u8; 26]total_sectors: u64mft_lcn: u64mft_lcn_mirror: u64file_record_size_info: i8crap_2: [u8; 447]

Trait Implementations

The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
Read the type from the reader
Read the type from the reader while assuming no arguments have been passed Read more
Read the type from the reader using the specified arguments
The default arguments to be used when using the read shortcut method. Override this for any type that optionally requries arguments Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more