pub struct StepPartitionProjection { /* private fields */ }Expand description
A redacted durable partition projection.
Payloads remain hidden while plan identity, lifecycle, counters, worker assignment, and context schema metadata stay inspectable.
Implementations§
Source§impl StepPartitionProjection
impl StepPartitionProjection
Sourcepub const fn id(&self) -> StepPartitionId
pub const fn id(&self) -> StepPartitionId
Returns the opaque partition row identifier.
Sourcepub const fn step_execution_id(&self) -> StepExecutionId
pub const fn step_execution_id(&self) -> StepExecutionId
Returns the parent partitioned step execution.
Sourcepub fn partition_key(&self) -> &str
pub fn partition_key(&self) -> &str
Borrows the immutable partition key.
Sourcepub const fn status(&self) -> BatchStatus
pub const fn status(&self) -> BatchStatus
Returns the framework status.
Sourcepub const fn exit_status(&self) -> &ExitStatus
pub const fn exit_status(&self) -> &ExitStatus
Borrows the operator-facing exit status.
Sourcepub const fn counts(&self) -> ExecutionCounts
pub const fn counts(&self) -> ExecutionCounts
Returns the durable counters.
Sourcepub const fn version(&self) -> ExecutionVersion
pub const fn version(&self) -> ExecutionVersion
Returns the observed optimistic version.
Sourcepub const fn worker_step_execution_id(&self) -> Option<StepExecutionId>
pub const fn worker_step_execution_id(&self) -> Option<StepExecutionId>
Returns the worker step execution that owns this partition.
Sourcepub const fn context(&self) -> Option<&StateEnvelopeDescriptor>
pub const fn context(&self) -> Option<&StateEnvelopeDescriptor>
Borrows the partition-context envelope description.
Trait Implementations§
Source§impl Clone for StepPartitionProjection
impl Clone for StepPartitionProjection
Source§fn clone(&self) -> StepPartitionProjection
fn clone(&self) -> StepPartitionProjection
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 StepPartitionProjection
impl Debug for StepPartitionProjection
impl Eq for StepPartitionProjection
Source§impl PartialEq for StepPartitionProjection
impl PartialEq for StepPartitionProjection
impl StructuralPartialEq for StepPartitionProjection
Auto Trait Implementations§
impl Freeze for StepPartitionProjection
impl RefUnwindSafe for StepPartitionProjection
impl Send for StepPartitionProjection
impl Sync for StepPartitionProjection
impl Unpin for StepPartitionProjection
impl UnsafeUnpin for StepPartitionProjection
impl UnwindSafe for StepPartitionProjection
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