pub enum ReadPlanCacheOutcome {
Hit,
Miss,
Bypassed,
}Expand description
Shared plan-cache outcome for the selected read plan.
Variants§
Hit
The selected prepared plan was reused.
Miss
The selected prepared plan was built for this call.
Bypassed
The selected path did not report a cache lookup outcome.
Trait Implementations§
Source§impl CandidType for ReadPlanCacheOutcome
impl CandidType for ReadPlanCacheOutcome
Source§impl Clone for ReadPlanCacheOutcome
impl Clone for ReadPlanCacheOutcome
Source§fn clone(&self) -> ReadPlanCacheOutcome
fn clone(&self) -> ReadPlanCacheOutcome
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 ReadPlanCacheOutcome
Source§impl Debug for ReadPlanCacheOutcome
impl Debug for ReadPlanCacheOutcome
Source§impl<'de> Deserialize<'de> for ReadPlanCacheOutcome
impl<'de> Deserialize<'de> for ReadPlanCacheOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReadPlanCacheOutcome
Source§impl PartialEq for ReadPlanCacheOutcome
impl PartialEq for ReadPlanCacheOutcome
impl StructuralPartialEq for ReadPlanCacheOutcome
Auto Trait Implementations§
impl Freeze for ReadPlanCacheOutcome
impl RefUnwindSafe for ReadPlanCacheOutcome
impl Send for ReadPlanCacheOutcome
impl Sync for ReadPlanCacheOutcome
impl Unpin for ReadPlanCacheOutcome
impl UnsafeUnpin for ReadPlanCacheOutcome
impl UnwindSafe for ReadPlanCacheOutcome
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