pub struct PreparedStatementStats {
pub hits: u64,
pub misses: u64,
pub cached_count: usize,
pub time_saved_ms: u64,
}Expand description
Statistics for prepared statement cache.
Fields§
§hits: u64Number of cache hits.
misses: u64Number of cache misses.
cached_count: usizeNumber of statements currently cached.
time_saved_ms: u64Total preparation time saved (estimated).
Implementations§
Trait Implementations§
Source§impl Clone for PreparedStatementStats
impl Clone for PreparedStatementStats
Source§impl Debug for PreparedStatementStats
impl Debug for PreparedStatementStats
Auto Trait Implementations§
impl Forget for PreparedStatementStats
impl Freeze for PreparedStatementStats
impl Move for PreparedStatementStats
impl RefUnwindSafe for PreparedStatementStats
impl Send for PreparedStatementStats
impl Sync for PreparedStatementStats
impl Unpin for PreparedStatementStats
impl UnsafeUnpin for PreparedStatementStats
impl UnwindSafe for PreparedStatementStats
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