pub struct ScanTrace {
pub volume: String,
pub source: String,
pub read_bytes: u64,
pub read_ms: u64,
pub mb_per_s: f64,
pub parse_ms: u64,
pub deferred_ms: u64,
pub build_ms: u64,
pub sort_ms: u64,
pub total_ms: u64,
pub entries: u64,
pub peak_ws_bytes: u64,
}Expand description
One index-established event of a volume: an initial scan/rescan (“scan”) or a snapshot restore (“snapshot”). Sharing one timeline keeps the ≤2s restore gate visible next to full-scan costs.
Fields§
§volume: StringThe volume this event established (e.g. “C:”).
source: String“scan” | “snapshot”.
read_bytes: u64Bytes read from the MFT / snapshot.
read_ms: u64Raw read time, in milliseconds.
mb_per_s: f64Read throughput, in megabytes per second.
parse_ms: u64MFT-record parse time, in milliseconds.
deferred_ms: u64Deferred $ATTRIBUTE_LIST name resolution.
build_ms: u64Index-build time, in milliseconds.
sort_ms: u64Sort time, in milliseconds.
total_ms: u64End-to-end time to establish the index, in milliseconds.
entries: u64Number of index entries established.
peak_ws_bytes: u64Peak process working set during the event, in bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanTrace
impl RefUnwindSafe for ScanTrace
impl Send for ScanTrace
impl Sync for ScanTrace
impl Unpin for ScanTrace
impl UnsafeUnpin for ScanTrace
impl UnwindSafe for ScanTrace
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