pub struct RawEntry<'a> {
pub parent_frn: Frn,
pub frn: Frn,
pub name_utf16: &'a [u16],
pub is_dir: bool,
pub is_reparse: bool,
pub is_hidden: bool,
pub is_system: bool,
pub size: u64,
pub mtime: i64,
}Expand description
One record produced by an initial-scan source (raw $MFT today, ReFS
enumeration in the future).
Fields§
§parent_frn: FrnThe parent directory’s full reference — its .record() resolves the
parent (an unknown parent attaches the entry to the root).
frn: FrnThis entry’s full reference; its .record() is the identity key.
name_utf16: &'a [u16]The file name as raw UTF-16 code units (as stored in the MFT).
is_dir: boolWhether this entry is a directory.
is_reparse: boolWhether this entry is a reparse point (symlink, junction, mount point).
Raw FILE_ATTRIBUTE_HIDDEN.
is_system: boolRaw FILE_ATTRIBUTE_SYSTEM.
size: u64File size in bytes.
mtime: i64FILETIME (100ns ticks since 1601, UTC).
Auto Trait Implementations§
impl<'a> Freeze for RawEntry<'a>
impl<'a> RefUnwindSafe for RawEntry<'a>
impl<'a> Send for RawEntry<'a>
impl<'a> Sync for RawEntry<'a>
impl<'a> Unpin for RawEntry<'a>
impl<'a> UnsafeUnpin for RawEntry<'a>
impl<'a> UnwindSafe for RawEntry<'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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more