pub struct RefsRecord {
pub record: UsnRecord,
pub file_id: RefsFileId,
pub parent_id: RefsFileId,
}Expand description
A USN V3 record enriched with full 128-bit ReFS file references.
The standard UsnRecord truncates the 128-bit references to fit into
mft_entry: u64 + mft_sequence: u16. This wrapper preserves the full
128-bit file and parent references as they appeared in the raw V3 record.
Fields§
§record: UsnRecordThe underlying parsed USN record.
file_id: RefsFileIdFull 128-bit file reference.
parent_id: RefsFileIdFull 128-bit parent reference.
Implementations§
Source§impl RefsRecord
impl RefsRecord
Sourcepub fn new(
record: UsnRecord,
file_id: RefsFileId,
parent_id: RefsFileId,
) -> Self
pub fn new( record: UsnRecord, file_id: RefsFileId, parent_id: RefsFileId, ) -> Self
Wrap a UsnRecord with explicit 128-bit file references.
Trait Implementations§
Source§impl Clone for RefsRecord
impl Clone for RefsRecord
Source§fn clone(&self) -> RefsRecord
fn clone(&self) -> RefsRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RefsRecord
impl RefUnwindSafe for RefsRecord
impl Send for RefsRecord
impl Sync for RefsRecord
impl Unpin for RefsRecord
impl UnsafeUnpin for RefsRecord
impl UnwindSafe for RefsRecord
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