pub struct SlowStatement {
pub statement: String,
pub wall_clock_ms: u64,
}Expand description
Statement-level slow signal.
dev/design/lifecycle.md § Slow and heartbeat policy: when a
statement crosses the configured threshold, “a slow signal must
surface and identify the statement that crossed the threshold.”
statement is the SQL text of the slow statement (or a synthetic
label for non-SQL operations such as the search / write outer
envelope). wall_clock_ms is the measured duration.
Fields§
§statement: String§wall_clock_ms: u64Trait Implementations§
Source§impl Clone for SlowStatement
impl Clone for SlowStatement
Source§fn clone(&self) -> SlowStatement
fn clone(&self) -> SlowStatement
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 moreAuto Trait Implementations§
impl Freeze for SlowStatement
impl RefUnwindSafe for SlowStatement
impl Send for SlowStatement
impl Sync for SlowStatement
impl Unpin for SlowStatement
impl UnsafeUnpin for SlowStatement
impl UnwindSafe for SlowStatement
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