pub struct PlanCache { /* private fields */ }Expand description
Thread-safe wrapper around LruCache<PlanKey, Arc<CachedPlan>>.
Arc lets the actor hand the plan out to a kernel-launch closure
that may outlive a subsequent cache eviction.
Implementations§
Auto Trait Implementations§
impl !Freeze for PlanCache
impl !RefUnwindSafe for PlanCache
impl Send for PlanCache
impl Sync for PlanCache
impl Unpin for PlanCache
impl UnsafeUnpin for PlanCache
impl UnwindSafe for PlanCache
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