pub struct NtfsAttribute<'a> {
pub header: &'a NtfsAttributeHeader,
/* private fields */
}Fields§
§header: &'a NtfsAttributeHeaderImplementations§
Source§impl<'a> NtfsAttribute<'a>
impl<'a> NtfsAttribute<'a>
pub fn new(data: &'a [u8]) -> Option<Self>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn data(&self) -> &'a [u8] ⓘ
pub fn resident_header(&self) -> Option<&'a NtfsResidentAttributeHeader>
pub fn nonresident_header(&self) -> Option<&'a NtfsNonResidentAttributeHeader>
pub fn get_resident(&self) -> Option<&'a [u8]>
pub fn as_standard_info(&self) -> Option<&'a NtfsStandardInformation>
pub fn as_name(&self) -> Option<NtfsFileName>
pub fn as_resident_data(&self) -> Option<&'a [u8]>
pub fn get_nonresident_data_runs( &self, volume: &Volume, ) -> NtfsReaderResult<(u64, Vec<DataRun>)>
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