pub struct Mft {
pub volume: Volume,
pub data: Vec<u8>,
pub bitmap: Vec<u8>,
pub max_record: u64,
}Fields§
§volume: Volume§data: Vec<u8>§bitmap: Vec<u8>§max_record: u64Implementations§
Source§impl Mft
impl Mft
pub fn new(volume: Volume) -> NtfsReaderResult<Self>
pub fn record_exists(&self, number: u64) -> bool
pub fn iterate_files<F>(&self, f: F)
pub fn get_record_data(&self, number: u64) -> &[u8] ⓘ
pub fn get_record(&self, number: u64) -> Option<NtfsFile<'_>>
pub fn get_record_fs<R>( fs: &mut R, file_record_size: usize, position: u64, ) -> Vec<u8> ⓘ
pub fn read_data_fs<R>( volume: &Volume, reader: &mut R, record: &[u8], attribute_type: NtfsAttributeType, ) -> Option<Vec<u8>>
Auto Trait Implementations§
impl Freeze for Mft
impl RefUnwindSafe for Mft
impl Send for Mft
impl Sync for Mft
impl Unpin for Mft
impl UnwindSafe for Mft
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more