pub struct PostgresDurableStepState { /* private fields */ }Expand description
Durable progress loaded for one PostgreSQL-backed step execution.
Implementations§
Source§impl PostgresDurableStepState
impl PostgresDurableStepState
Sourcepub const fn step_execution(&self) -> &StepExecution
pub const fn step_execution(&self) -> &StepExecution
Borrows the step snapshot, including committed counters and version.
Sourcepub const fn checkpoint(&self) -> &Checkpoint
pub const fn checkpoint(&self) -> &Checkpoint
Borrows the last committed checkpoint.
Sourcepub const fn execution_context(&self) -> &ExecutionContext
pub const fn execution_context(&self) -> &ExecutionContext
Borrows the last committed execution context.
Sourcepub const fn fault_progress(&self) -> FaultProgress
pub const fn fault_progress(&self) -> FaultProgress
Returns the committed fault-tolerance totals of this attempt.
Sourcepub const fn fault_state(&self) -> &FaultStateEnvelope
pub const fn fault_state(&self) -> &FaultStateEnvelope
Borrows the validated unresolved retry state of this attempt.
Trait Implementations§
Source§impl Clone for PostgresDurableStepState
impl Clone for PostgresDurableStepState
Source§fn clone(&self) -> PostgresDurableStepState
fn clone(&self) -> PostgresDurableStepState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostgresDurableStepState
impl Debug for PostgresDurableStepState
impl Eq for PostgresDurableStepState
Source§impl PartialEq for PostgresDurableStepState
impl PartialEq for PostgresDurableStepState
impl StructuralPartialEq for PostgresDurableStepState
Auto Trait Implementations§
impl Freeze for PostgresDurableStepState
impl RefUnwindSafe for PostgresDurableStepState
impl Send for PostgresDurableStepState
impl Sync for PostgresDurableStepState
impl Unpin for PostgresDurableStepState
impl UnsafeUnpin for PostgresDurableStepState
impl UnwindSafe for PostgresDurableStepState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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