pub struct GraphCancellationEvidenceContext { /* private fields */ }Expand description
Payload-free trusted context for terminal cancellation accounting recovery.
Implementations§
Source§impl GraphCancellationEvidenceContext
impl GraphCancellationEvidenceContext
Sourcepub const fn provenance(&self) -> &AgentResultProvenance
pub const fn provenance(&self) -> &AgentResultProvenance
Returns trusted run provenance from the current lifecycle snapshot.
Sourcepub const fn graph(&self) -> &GraphReference
pub const fn graph(&self) -> &GraphReference
Returns the exact pinned graph.
Sourcepub const fn checkpoint(&self) -> &CheckpointHead
pub const fn checkpoint(&self) -> &CheckpointHead
Returns the checkpoint at which cancellation stopped graph progress.
Sourcepub const fn expected_revision(&self) -> RunRevision
pub const fn expected_revision(&self) -> RunRevision
Returns the cancellation-request lifecycle revision to consume.
Sourcepub const fn cancellation_failure_id(&self) -> FailureId
pub const fn cancellation_failure_id(&self) -> FailureId
Returns the immutable cancellation occurrence selected by the request.
Trait Implementations§
Auto Trait Implementations§
impl Forget for GraphCancellationEvidenceContext
impl Freeze for GraphCancellationEvidenceContext
impl Move for GraphCancellationEvidenceContext
impl RefUnwindSafe for GraphCancellationEvidenceContext
impl Send for GraphCancellationEvidenceContext
impl Sync for GraphCancellationEvidenceContext
impl Unpin for GraphCancellationEvidenceContext
impl UnsafeUnpin for GraphCancellationEvidenceContext
impl UnwindSafe for GraphCancellationEvidenceContext
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