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 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
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 HarnessCatalog
Source§impl Debug for HarnessCatalog
impl Debug for HarnessCatalog
Source§impl Default for HarnessCatalog
impl Default for HarnessCatalog
Source§fn default() -> HarnessCatalog
fn default() -> HarnessCatalog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HarnessCatalog
impl RefUnwindSafe for HarnessCatalog
impl Send for HarnessCatalog
impl Sync for HarnessCatalog
impl Unpin for HarnessCatalog
impl UnsafeUnpin for HarnessCatalog
impl UnwindSafe for HarnessCatalog
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