pub struct DirEntry {}Expand description
A decoded 128-byte directory entry. Every field is read with bounds checks; a truncated entry yields zeroed / empty fields rather than a panic.
Fields§
§sid: u32Index of this entry in the directory array (its stream id / SID).
name: StringUTF-16LE name, lossily decoded and trimmed at the declared name length.
object_type: u8Raw object-type byte (0x00/0x01/0x02/0x05).
color: u8Raw colour byte (0x00 red / 0x01 black).
left: u32Left-sibling SID, or forensicnomicon::olecf::NOSTREAM.
right: u32Right-sibling SID, or NOSTREAM.
child: u32Child SID (storages only), or NOSTREAM.
clsid: [u8; 16]16-byte class id, verbatim.
state_bits: u32User-defined state bits.
create_time: u64Creation FILETIME (raw u64).
modify_time: u64Modification FILETIME (raw u64).
start_sector: u32Starting sector id of the entry’s stream (or mini-stream for the root).
stream_size: u64Declared stream size in bytes.
Implementations§
Trait Implementations§
impl Eq for DirEntry
impl StructuralPartialEq for DirEntry
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin for DirEntry
impl UnwindSafe for DirEntry
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