pub struct FileReference {
pub record_number: u64,
pub sequence: u16,
}Expand description
A 64-bit NTFS file reference: a 48-bit MFT record number plus a 16-bit sequence (reuse) number. A stale sequence flags a dangling reference.
Fields§
§record_number: u64MFT record number (low 48 bits).
sequence: u16Sequence number (high 16 bits).
Implementations§
Trait Implementations§
Source§impl Clone for FileReference
impl Clone for FileReference
Source§fn clone(&self) -> FileReference
fn clone(&self) -> FileReference
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 moreimpl Copy for FileReference
Source§impl Debug for FileReference
impl Debug for FileReference
impl Eq for FileReference
Source§impl PartialEq for FileReference
impl PartialEq for FileReference
Source§fn eq(&self, other: &FileReference) -> bool
fn eq(&self, other: &FileReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileReference
Auto Trait Implementations§
impl Freeze for FileReference
impl RefUnwindSafe for FileReference
impl Send for FileReference
impl Sync for FileReference
impl Unpin for FileReference
impl UnsafeUnpin for FileReference
impl UnwindSafe for FileReference
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