pub struct ProbeCache { /* private fields */ }Expand description
Probe results per file, kept while the file’s fingerprint stays the same (the plan cache, M30). One per process in the app; the CLI probes afresh each run. A probe still running when its planner run stopped waiting stores its answer here when it arrives.
Implementations§
Source§impl ProbeCache
impl ProbeCache
pub fn new() -> Self
Sourcepub fn with_budget(budget: Duration) -> Self
pub fn with_budget(budget: Duration) -> Self
A cache whose planner runs wait budget for their probes.
Trait Implementations§
Source§impl Debug for ProbeCache
impl Debug for ProbeCache
Auto Trait Implementations§
impl Forget for ProbeCache
impl Freeze for ProbeCache
impl Move for ProbeCache
impl RefUnwindSafe for ProbeCache
impl Send for ProbeCache
impl Sync for ProbeCache
impl Unpin for ProbeCache
impl UnsafeUnpin for ProbeCachewhere
*const ArcInner<Mutex<HashMap<PathBuf, Cached>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<HashMap<PathBuf, Cached>>>>: UnsafeUnpin,
impl UnwindSafe for ProbeCache
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