pub struct PlanCacheStatsSnapshot {
pub parse_hits: u64,
pub parse_misses: u64,
pub optimize_hits: u64,
pub optimize_misses: u64,
pub evictions: u64,
pub size: usize,
pub parse_hit_rate: f64,
pub optimize_hit_rate: f64,
}Expand description
统计快照(用于读取一致性视图)
Fields§
§parse_hits: u64§parse_misses: u64§optimize_hits: u64§optimize_misses: u64§evictions: u64§size: usize§parse_hit_rate: f64§optimize_hit_rate: f64Trait Implementations§
Source§impl Clone for PlanCacheStatsSnapshot
impl Clone for PlanCacheStatsSnapshot
Source§fn clone(&self) -> PlanCacheStatsSnapshot
fn clone(&self) -> PlanCacheStatsSnapshot
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 PlanCacheStatsSnapshot
impl RefUnwindSafe for PlanCacheStatsSnapshot
impl Send for PlanCacheStatsSnapshot
impl Sync for PlanCacheStatsSnapshot
impl Unpin for PlanCacheStatsSnapshot
impl UnsafeUnpin for PlanCacheStatsSnapshot
impl UnwindSafe for PlanCacheStatsSnapshot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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