pub struct HarnessCatalog;Expand description
Read-only entry point for discovering, loading, and following persisted harness sessions.
Implementations§
Source§impl HarnessCatalog
impl HarnessCatalog
Sourcepub fn discover(&self, query: &DiscoveryQuery) -> Result<Vec<SessionDescriptor>>
pub fn discover(&self, query: &DiscoveryQuery) -> Result<Vec<SessionDescriptor>>
Discover sessions using lightweight headers/indexes rather than full transcript normalization. Malformed or concurrently-created entries are skipped without aborting the rest of the scan.
Sourcepub fn discover_page(&self, query: &DiscoveryQuery) -> Result<DiscoveryPage>
pub fn discover_page(&self, query: &DiscoveryQuery) -> Result<DiscoveryPage>
Discover one stable page and return the cursor for its successor.
Sourcepub fn load(&self, locator: &SessionLocator) -> Result<Session>
pub fn load(&self, locator: &SessionLocator) -> Result<Session>
Load the complete normalized session named by a durable locator.
Sourcepub fn load_with_fidelity(
&self,
locator: &SessionLocator,
fidelity: Fidelity,
) -> Result<Session>
pub fn load_with_fidelity( &self, locator: &SessionLocator, fidelity: Fidelity, ) -> Result<Session>
Self::load at a declared fidelity.
Read-only surfaces (a session mirror, follow) pass
Fidelity::Semantic so a compacted transcript renders instead of
erroring; every continuation/transfer/export caller keeps the strict
default. See Session::load_with_fidelity.
Sourcepub fn follow(&self, locator: &SessionLocator) -> Result<SessionFollower>
pub fn follow(&self, locator: &SessionLocator) -> Result<SessionFollower>
Open a passive change-triggered follower for a durable locator.
Sourcepub fn follow_with_fidelity(
&self,
locator: &SessionLocator,
fidelity: Fidelity,
) -> Result<SessionFollower>
pub fn follow_with_fidelity( &self, locator: &SessionLocator, fidelity: Fidelity, ) -> Result<SessionFollower>
Self::follow at a declared fidelity — see Self::load_with_fidelity.
Trait Implementations§
Source§impl Clone for HarnessCatalog
impl Clone for HarnessCatalog
Source§fn clone(&self) -> HarnessCatalog
fn clone(&self) -> HarnessCatalog
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more