pub struct GraphLifecycleBarrierHandoff { /* private fields */ }Expand description
Exact lease-bound Wait/Terminal commit input for a lifecycle integrator.
Implementations§
Source§impl GraphLifecycleBarrierHandoff
impl GraphLifecycleBarrierHandoff
Sourcepub const fn plan(&self) -> &GraphBarrierPlan
pub const fn plan(&self) -> &GraphBarrierPlan
Returns the complete deterministic barrier and disposition.
Sourcepub const fn journal_head(&self) -> &JournalHead
pub const fn journal_head(&self) -> &JournalHead
Returns the exact current journal head for the lifecycle append.
Sourcepub const fn event_id(&self) -> EventId
pub const fn event_id(&self) -> EventId
Returns the stable lost-acknowledgement identity for the lifecycle event.
Sourcepub const fn expected_revision(&self) -> RunRevision
pub const fn expected_revision(&self) -> RunRevision
Returns the lifecycle revision that must still match atomically.
Sourcepub const fn lease(&self) -> &RunLease
pub const fn lease(&self) -> &RunLease
Returns the exact lease that must remain unexpired at commit.
Sourcepub fn into_parts(
self,
) -> (GraphBarrierPlan, JournalHead, EventId, RunRevision, RunLease)
pub fn into_parts( self, ) -> (GraphBarrierPlan, JournalHead, EventId, RunRevision, RunLease)
Consumes the handoff into storage-ready parts.
Trait Implementations§
Source§impl Clone for GraphLifecycleBarrierHandoff
impl Clone for GraphLifecycleBarrierHandoff
Auto Trait Implementations§
impl Forget for GraphLifecycleBarrierHandoff
impl Freeze for GraphLifecycleBarrierHandoff
impl Move for GraphLifecycleBarrierHandoff
impl RefUnwindSafe for GraphLifecycleBarrierHandoff
impl Send for GraphLifecycleBarrierHandoff
impl Sync for GraphLifecycleBarrierHandoff
impl Unpin for GraphLifecycleBarrierHandoff
impl UnsafeUnpin for GraphLifecycleBarrierHandoff
impl UnwindSafe for GraphLifecycleBarrierHandoff
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