pub struct ProfileRecord {
pub wall_clock_ms: u64,
pub step_count: u64,
pub cache_delta: i64,
}Expand description
Per-statement profile record shape.
Field set locked by AC-005b / dev/design/lifecycle.md § Per-statement
profiling. cache_delta is signed because cache counters can decrease
across a statement window when SQLite evicts.
Fields§
§wall_clock_ms: u64§step_count: u64§cache_delta: i64Trait Implementations§
Source§impl Clone for ProfileRecord
impl Clone for ProfileRecord
Source§fn clone(&self) -> ProfileRecord
fn clone(&self) -> ProfileRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProfileRecord
Source§impl Debug for ProfileRecord
impl Debug for ProfileRecord
impl Eq for ProfileRecord
Source§impl PartialEq for ProfileRecord
impl PartialEq for ProfileRecord
Source§fn eq(&self, other: &ProfileRecord) -> bool
fn eq(&self, other: &ProfileRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProfileRecord
Auto Trait Implementations§
impl Freeze for ProfileRecord
impl RefUnwindSafe for ProfileRecord
impl Send for ProfileRecord
impl Sync for ProfileRecord
impl Unpin for ProfileRecord
impl UnsafeUnpin for ProfileRecord
impl UnwindSafe for ProfileRecord
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