pub enum PlanCacheWriteTarget {
Memory,
Persistent,
}Expand description
Selects where a cache write lands and which capability it requires.
Variants§
Memory
Stores the entry in process memory only; requires no capability.
Persistent
Persists the entry beyond the process; requires the runner cache capability.
Trait Implementations§
Source§impl Clone for PlanCacheWriteTarget
impl Clone for PlanCacheWriteTarget
Source§fn clone(&self) -> PlanCacheWriteTarget
fn clone(&self) -> PlanCacheWriteTarget
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 PlanCacheWriteTarget
Source§impl Debug for PlanCacheWriteTarget
impl Debug for PlanCacheWriteTarget
impl Eq for PlanCacheWriteTarget
Source§impl PartialEq for PlanCacheWriteTarget
impl PartialEq for PlanCacheWriteTarget
Source§fn eq(&self, other: &PlanCacheWriteTarget) -> bool
fn eq(&self, other: &PlanCacheWriteTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanCacheWriteTarget
Auto Trait Implementations§
impl Freeze for PlanCacheWriteTarget
impl RefUnwindSafe for PlanCacheWriteTarget
impl Send for PlanCacheWriteTarget
impl Sync for PlanCacheWriteTarget
impl Unpin for PlanCacheWriteTarget
impl UnsafeUnpin for PlanCacheWriteTarget
impl UnwindSafe for PlanCacheWriteTarget
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