pub struct UsnRecord {
pub usn: i64,
pub frn: u64,
pub parent_frn: u64,
pub reason: u32,
pub attributes: u32,
pub name: Vec<u16>,
}Expand description
One decoded journal record.
Fields§
§usn: i64Update Sequence Number — this record’s monotonic position in the journal.
frn: u64Full 64-bit FRN (with sequence).
parent_frn: u64Full 64-bit FRN of the containing directory (with sequence).
reason: u32Bitfield of reason::* flags describing what changed.
attributes: u32Bitfield of FILE_ATTRIBUTE_* flags for the file at record time.
name: Vec<u16>File name in UTF-16 units (single link name, see RESEARCH.md on hard links).
Implementations§
Trait Implementations§
impl Eq for UsnRecord
impl StructuralPartialEq for UsnRecord
Auto Trait Implementations§
impl Freeze for UsnRecord
impl RefUnwindSafe for UsnRecord
impl Send for UsnRecord
impl Sync for UsnRecord
impl Unpin for UsnRecord
impl UnsafeUnpin for UsnRecord
impl UnwindSafe for UsnRecord
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