pub struct GraphTerminalEvidence { /* private fields */ }Expand description
Trusted admission and cumulative accounting required for success.
Implementations§
Source§impl GraphTerminalEvidence
impl GraphTerminalEvidence
Sourcepub const fn new(
descriptor: AgentDescriptor,
request: AgentRequest,
budget: ResolvedBudget,
artifacts: AgentArtifacts,
usage: BudgetUsage,
) -> Self
pub const fn new( descriptor: AgentDescriptor, request: AgentRequest, budget: ResolvedBudget, artifacts: AgentArtifacts, usage: BudgetUsage, ) -> Self
Bundles immutable snapshots recovered from trusted durable sources.
Sourcepub const fn descriptor(&self) -> &AgentDescriptor
pub const fn descriptor(&self) -> &AgentDescriptor
Returns the immutable admitted agent descriptor.
Sourcepub const fn request(&self) -> &AgentRequest
pub const fn request(&self) -> &AgentRequest
Returns the immutable admitted request.
Sourcepub const fn budget(&self) -> &ResolvedBudget
pub const fn budget(&self) -> &ResolvedBudget
Returns the exact resolved finite budget snapshot.
Sourcepub const fn artifacts(&self) -> &AgentArtifacts
pub const fn artifacts(&self) -> &AgentArtifacts
Returns final durable artifact references.
Sourcepub const fn usage(&self) -> &BudgetUsage
pub const fn usage(&self) -> &BudgetUsage
Returns complete cumulative run usage.
Trait Implementations§
Source§impl Clone for GraphTerminalEvidence
impl Clone for GraphTerminalEvidence
Auto Trait Implementations§
impl Forget for GraphTerminalEvidence
impl Freeze for GraphTerminalEvidence
impl Move for GraphTerminalEvidence
impl RefUnwindSafe for GraphTerminalEvidence
impl Send for GraphTerminalEvidence
impl Sync for GraphTerminalEvidence
impl Unpin for GraphTerminalEvidence
impl UnsafeUnpin for GraphTerminalEvidence
impl UnwindSafe for GraphTerminalEvidence
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