Skip to main content

explore_owned

Function explore_owned 

Source
pub fn explore_owned<'p>(
    plan: &'p Plan,
    store: &mut Arc<Store>,
    config: Config,
    poll: &'p (dyn Fn() -> bool + Sync),
    control: Option<&Arc<dyn WorkControl>>,
    storage: &Storage,
    session: Option<&'p mut Session>,
    permanent: Option<&Permanent>,
) -> Outcome
Expand description

Explores pure safety while allowing completed-level replacement of its Store.

store always names the owner of the returned trace/sample handles. A supplied permanent must be captured from the same compiled startup before recovery; omission captures the current startup. Caller-held clones of replaced Stores naturally retain their contents, so callers should transfer their sole owner. Checkpoint recovery may continue here; checkpoint pause, graph capture, effects and sampling explicitly refuse reclamation. The byte policy is a trigger, not a live-root or process-memory limit.