#[repr(transparent)]pub struct RecordNo(pub u64);Expand description
An MFT record number — an Frn’s low 48 bits.
The index’s lookup key: liveness (not the sequence) resolves NTFS record reuse, so the key is just the record number.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl From<u64> for RecordNo
impl From<u64> for RecordNo
Source§fn from(record: u64) -> Self
fn from(record: u64) -> Self
Wrap a value already known to be a record number — the ergonomic
entry point for name lookups (VolumeIndex::entry_by_record) and
test fixtures. Derive one from a full reference with Frn::record,
never by truncating a raw u64 here.
Source§impl Ord for RecordNo
impl Ord for RecordNo
Source§impl PartialOrd for RecordNo
impl PartialOrd for RecordNo
impl Copy for RecordNo
impl Eq for RecordNo
impl StructuralPartialEq for RecordNo
Auto Trait Implementations§
impl Freeze for RecordNo
impl RefUnwindSafe for RecordNo
impl Send for RecordNo
impl Sync for RecordNo
impl Unpin for RecordNo
impl UnsafeUnpin for RecordNo
impl UnwindSafe for RecordNo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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