pub struct GraphFailureEvidenceContext { /* private fields */ }Expand description
Payload-free trusted context for blocked-run failure evidence recovery.
Implementations§
Source§impl GraphFailureEvidenceContext
impl GraphFailureEvidenceContext
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 blocked checkpoint.
Sourcepub const fn observed_at(&self) -> Timestamp
pub const fn observed_at(&self) -> Timestamp
Returns the database observation used by recovery classification.
Sourcepub const fn expected_revision(&self) -> RunRevision
pub const fn expected_revision(&self) -> RunRevision
Returns the lifecycle revision that the failure must consume.
Sourcepub const fn blockers(&self) -> GraphDriveBlockers
pub const fn blockers(&self) -> GraphDriveBlockers
Returns aggregate blocked-node classifications.
Trait Implementations§
Source§impl Clone for GraphFailureEvidenceContext
impl Clone for GraphFailureEvidenceContext
Auto Trait Implementations§
impl Forget for GraphFailureEvidenceContext
impl Freeze for GraphFailureEvidenceContext
impl Move for GraphFailureEvidenceContext
impl RefUnwindSafe for GraphFailureEvidenceContext
impl Send for GraphFailureEvidenceContext
impl Sync for GraphFailureEvidenceContext
impl Unpin for GraphFailureEvidenceContext
impl UnsafeUnpin for GraphFailureEvidenceContext
impl UnwindSafe for GraphFailureEvidenceContext
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