pub struct JsonLoadStats {
pub total_files_attempted: usize,
pub files_loaded: usize,
pub files_skipped: usize,
pub files_failed: usize,
pub total_size_bytes: usize,
pub total_load_time_ms: u64,
pub parallel_loading_used: bool,
}
Expand description
Statistics for the JSON loading process
Fields§
§total_files_attempted: usize
Total files attempted
files_loaded: usize
Files successfully loaded
files_skipped: usize
Files skipped
files_failed: usize
Files failed to load
total_size_bytes: usize
Total size in bytes
total_load_time_ms: u64
Total load time in milliseconds
parallel_loading_used: bool
Whether parallel loading was used
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonLoadStats
impl RefUnwindSafe for JsonLoadStats
impl Send for JsonLoadStats
impl Sync for JsonLoadStats
impl Unpin for JsonLoadStats
impl UnwindSafe for JsonLoadStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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