pub struct CompilationStatistics {
pub total_compilations: u64,
pub successful_compilations: u64,
pub failed_compilations: u64,
pub cache_hits: u64,
pub avg_compilation_time: Duration,
pub total_compilation_time: Duration,
pub memory_usage: MemoryUsageStats,
}
Expand description
Compilation statistics
Fields§
§total_compilations: u64
Total compilations
successful_compilations: u64
Successful compilations
failed_compilations: u64
Failed compilations
cache_hits: u64
Cache hits
avg_compilation_time: Duration
Average compilation time
total_compilation_time: Duration
Total compilation time
memory_usage: MemoryUsageStats
Memory usage statistics
Trait Implementations§
Source§impl Clone for CompilationStatistics
impl Clone for CompilationStatistics
Source§fn clone(&self) -> CompilationStatistics
fn clone(&self) -> CompilationStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompilationStatistics
impl Debug for CompilationStatistics
Auto Trait Implementations§
impl Freeze for CompilationStatistics
impl RefUnwindSafe for CompilationStatistics
impl Send for CompilationStatistics
impl Sync for CompilationStatistics
impl Unpin for CompilationStatistics
impl UnwindSafe for CompilationStatistics
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,
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