pub enum TelemetryLevel {
Counters,
Statements,
Profiling,
}Expand description
Controls how much telemetry the engine collects.
Levels are additive — each level includes everything from below it. Level 0 counters are always maintained regardless of this setting; the level controls whether higher-cost collection is enabled.
Variants§
Counters
Level 0: cumulative counters only. Always active.
Statements
Level 1: per-statement profiling (trace_v2 + stmt_status).
Profiling
Level 2: deep profiling (scan status + process snapshots). Requires high-telemetry build for full scan-status data.
Trait Implementations§
Source§impl Clone for TelemetryLevel
impl Clone for TelemetryLevel
Source§fn clone(&self) -> TelemetryLevel
fn clone(&self) -> TelemetryLevel
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 TelemetryLevel
impl Debug for TelemetryLevel
Source§impl Default for TelemetryLevel
impl Default for TelemetryLevel
Source§fn default() -> TelemetryLevel
fn default() -> TelemetryLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for TelemetryLevel
impl PartialEq for TelemetryLevel
impl Copy for TelemetryLevel
impl Eq for TelemetryLevel
impl StructuralPartialEq for TelemetryLevel
Auto Trait Implementations§
impl Freeze for TelemetryLevel
impl RefUnwindSafe for TelemetryLevel
impl Send for TelemetryLevel
impl Sync for TelemetryLevel
impl Unpin for TelemetryLevel
impl UnsafeUnpin for TelemetryLevel
impl UnwindSafe for TelemetryLevel
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.