pub struct ProviderNativeAgentLifecycleEvidence { /* private fields */ }Expand description
Read-only lifecycle evidence recovery for one compiled provider-native graph.
The provider rebuilds cumulative accounting from the invocation ledgers and revalidates the terminal model output against the exact base checkpoint. It never invokes a model, tool, or policy. Unknown external outcomes and model failures without a complete usage snapshot remain unavailable for explicit reconciliation instead of being reported as zero-cost terminal results.
Implementations§
Source§impl ProviderNativeAgentLifecycleEvidence
impl ProviderNativeAgentLifecycleEvidence
Sourcepub fn new(definition: ProviderNativeAgentGraph, store: PostgresStore) -> Self
pub fn new(definition: ProviderNativeAgentGraph, store: PostgresStore) -> Self
Binds one immutable graph composition to its durable evidence store.
Trait Implementations§
Source§impl GraphLifecycleEvidenceProvider for ProviderNativeAgentLifecycleEvidence
impl GraphLifecycleEvidenceProvider for ProviderNativeAgentLifecycleEvidence
Source§fn terminal_evidence(
&self,
context: GraphTerminalEvidenceContext,
) -> BoxFuture<'_, Result<GraphTerminalEvidence, GraphLifecycleEvidenceError>>
fn terminal_evidence( &self, context: GraphTerminalEvidenceContext, ) -> BoxFuture<'_, Result<GraphTerminalEvidence, GraphLifecycleEvidenceError>>
Recovers success evidence for an exact terminal barrier.
Source§fn failure_evidence(
&self,
context: GraphFailureEvidenceContext,
) -> BoxFuture<'_, Result<GraphFailureEvidence, GraphLifecycleEvidenceError>>
fn failure_evidence( &self, context: GraphFailureEvidenceContext, ) -> BoxFuture<'_, Result<GraphFailureEvidence, GraphLifecycleEvidenceError>>
Recovers terminal failure evidence for an exact blocked checkpoint.
Source§fn cancellation_evidence(
&self,
context: GraphCancellationEvidenceContext,
) -> BoxFuture<'_, Result<GraphCancellationEvidence, GraphLifecycleEvidenceError>>
fn cancellation_evidence( &self, context: GraphCancellationEvidenceContext, ) -> BoxFuture<'_, Result<GraphCancellationEvidence, GraphLifecycleEvidenceError>>
Recovers complete cumulative usage for an exact cancellation request.
Auto Trait Implementations§
impl !RefUnwindSafe for ProviderNativeAgentLifecycleEvidence
impl !UnwindSafe for ProviderNativeAgentLifecycleEvidence
impl Forget for ProviderNativeAgentLifecycleEvidence
impl Freeze for ProviderNativeAgentLifecycleEvidence
impl Move for ProviderNativeAgentLifecycleEvidence
impl Send for ProviderNativeAgentLifecycleEvidence
impl Sync for ProviderNativeAgentLifecycleEvidence
impl Unpin for ProviderNativeAgentLifecycleEvidence
impl UnsafeUnpin for ProviderNativeAgentLifecycleEvidence
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more