pub enum LogOp {
Show 36 variants
Noop,
CompensationLogRecord,
InitializeFileRecordSegment,
DeallocateFileRecordSegment,
WriteEndOfFileRecordSegment,
CreateAttribute,
DeleteAttribute,
UpdateResidentValue,
UpdateNonResidentValue,
UpdateMappingPairs,
DeleteDirtyClusters,
SetNewAttributeSizes,
AddIndexEntryRoot,
DeleteIndexEntryRoot,
AddIndexEntryAllocation,
DeleteIndexEntryAllocation,
WriteEndOfIndexBuffer,
SetIndexEntryVcnRoot,
SetIndexEntryVcnAllocation,
UpdateFileNameRoot,
UpdateFileNameAllocation,
SetBitsInNonResidentBitMap,
ClearBitsInNonResidentBitMap,
HotFix,
EndTopLevelAction,
PrepareTransaction,
CommitTransaction,
ForgetTransaction,
OpenNonResidentAttribute,
OpenAttributeTableDump,
AttributeNamesDump,
DirtyPageTableDump,
TransactionTableDump,
UpdateRecordDataRoot,
UpdateRecordDataAllocation,
Unknown(u16),
}Expand description
An NTFS $LogFile (LFS) redo/undo operation code.
These are the NTFS log-file-service operations (Brian Carrier, File System
Forensic Analysis). The code→operation mapping is transcribed verbatim from
the _SolveUndoRedoCodes function in jschicht’s LogFileParser — the exact
lookup its GUI runs to label the RedoOP/UndoOP columns — so this enum’s
mapping is identical to that tool’s by construction. Names use the canonical
spelling (LogFileParser carries a few typos, e.g. “Segement”); the invariant
shared with the tool is the numeric code, not the label. A code outside the
documented 0x00..=0x22 range is surfaced verbatim via LogOp::Unknown,
never silently mapped.
Variants§
Noop
CompensationLogRecord
InitializeFileRecordSegment
DeallocateFileRecordSegment
WriteEndOfFileRecordSegment
CreateAttribute
DeleteAttribute
UpdateResidentValue
UpdateNonResidentValue
UpdateMappingPairs
DeleteDirtyClusters
SetNewAttributeSizes
AddIndexEntryRoot
DeleteIndexEntryRoot
AddIndexEntryAllocation
DeleteIndexEntryAllocation
WriteEndOfIndexBuffer
SetIndexEntryVcnRoot
SetIndexEntryVcnAllocation
UpdateFileNameRoot
UpdateFileNameAllocation
SetBitsInNonResidentBitMap
ClearBitsInNonResidentBitMap
HotFix
EndTopLevelAction
PrepareTransaction
CommitTransaction
ForgetTransaction
OpenNonResidentAttribute
OpenAttributeTableDump
AttributeNamesDump
DirtyPageTableDump
TransactionTableDump
UpdateRecordDataRoot
UpdateRecordDataAllocation
Unknown(u16)
A code outside the documented 0x00..=0x22 range, surfaced verbatim.
Implementations§
Trait Implementations§
impl Copy for LogOp
impl Eq for LogOp
impl StructuralPartialEq for LogOp
Auto Trait Implementations§
impl Freeze for LogOp
impl RefUnwindSafe for LogOp
impl Send for LogOp
impl Sync for LogOp
impl Unpin for LogOp
impl UnsafeUnpin for LogOp
impl UnwindSafe for LogOp
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