pub struct NtfsAttribute<'a> {
pub data: &'a [u8],
pub header: &'a NtfsAttributeHeader,
pub header_res: &'a NtfsResidentAttributeHeader,
pub header_nonres: &'a NtfsNonResidentAttributeHeader,
}
Fields§
§data: &'a [u8]
§header: &'a NtfsAttributeHeader
§header_res: &'a NtfsResidentAttributeHeader
§header_nonres: &'a NtfsNonResidentAttributeHeader
Implementations§
Source§impl<'a> NtfsAttribute<'a>
impl<'a> NtfsAttribute<'a>
pub fn new(data: &'a [u8]) -> Self
pub fn get_resident(&self) -> &'a [u8] ⓘ
pub fn as_standard_info(&self) -> &'a NtfsStandardInformation
pub fn as_name(&self) -> &'a NtfsFileName
pub fn as_resident_data(&self) -> &'a [u8] ⓘ
pub fn get_nonresident_data_runs( &self, volume: &Volume, ) -> (usize, Vec<Range<usize>>)
Auto Trait Implementations§
impl<'a> Freeze for NtfsAttribute<'a>
impl<'a> RefUnwindSafe for NtfsAttribute<'a>
impl<'a> Send for NtfsAttribute<'a>
impl<'a> Sync for NtfsAttribute<'a>
impl<'a> Unpin for NtfsAttribute<'a>
impl<'a> UnwindSafe for NtfsAttribute<'a>
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