pub struct GraphCancellationHandoff { /* private fields */ }Expand description
Exact lease-bound input for terminal cancellation acknowledgement.
Implementations§
Source§impl GraphCancellationHandoff
impl GraphCancellationHandoff
Sourcepub const fn checkpoint(&self) -> &CheckpointHead
pub const fn checkpoint(&self) -> &CheckpointHead
Returns the exact checkpoint at which cancellation stopped graph progress.
Sourcepub const fn journal_head(&self) -> &JournalHead
pub const fn journal_head(&self) -> &JournalHead
Returns the cancellation-request event as the exact journal predecessor.
Sourcepub const fn event_id(&self) -> EventId
pub const fn event_id(&self) -> EventId
Returns the stable lost-acknowledgement identity for confirmation.
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 failure_id(&self) -> FailureId
pub const fn failure_id(&self) -> FailureId
Returns the immutable cancellation occurrence selected by the request.
Sourcepub fn into_parts(
self,
) -> (CheckpointHead, JournalHead, EventId, RunRevision, RunLease, FailureId)
pub fn into_parts( self, ) -> (CheckpointHead, JournalHead, EventId, RunRevision, RunLease, FailureId)
Consumes the handoff into storage-ready parts.
Trait Implementations§
Source§impl Clone for GraphCancellationHandoff
impl Clone for GraphCancellationHandoff
Auto Trait Implementations§
impl Forget for GraphCancellationHandoff
impl Freeze for GraphCancellationHandoff
impl Move for GraphCancellationHandoff
impl RefUnwindSafe for GraphCancellationHandoff
impl Send for GraphCancellationHandoff
impl Sync for GraphCancellationHandoff
impl Unpin for GraphCancellationHandoff
impl UnsafeUnpin for GraphCancellationHandoff
impl UnwindSafe for GraphCancellationHandoff
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