pub struct ReplayVerifier;Expand description
Replay verifier: validates run integrity.
Implementations§
Source§impl ReplayVerifier
impl ReplayVerifier
Sourcepub fn verify(
store: &dyn EventStore,
run_id: &RunId,
config: &VerifyConfig,
) -> VerificationResult
pub fn verify( store: &dyn EventStore, run_id: &RunId, config: &VerifyConfig, ) -> VerificationResult
Verifies a run’s integrity according to the config.
Sourcepub fn tool_checksum(
store: &dyn EventStore,
run_id: &RunId,
) -> Result<String, KernelError>
pub fn tool_checksum( store: &dyn EventStore, run_id: &RunId, ) -> Result<String, KernelError>
Returns the tool call checksum for a run (for later verification).
Sourcepub fn state_hash(
store: &dyn EventStore,
run_id: &RunId,
) -> Result<String, KernelError>
pub fn state_hash( store: &dyn EventStore, run_id: &RunId, ) -> Result<String, KernelError>
Returns the state hash for a run (for later verification).
Auto Trait Implementations§
impl Freeze for ReplayVerifier
impl RefUnwindSafe for ReplayVerifier
impl Send for ReplayVerifier
impl Sync for ReplayVerifier
impl Unpin for ReplayVerifier
impl UnsafeUnpin for ReplayVerifier
impl UnwindSafe for ReplayVerifier
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