pub struct StepPartition { /* private fields */ }Expand description
A durable partition plan row and its latest result snapshot.
Implementations§
Source§impl StepPartition
impl StepPartition
Sourcepub const fn id(&self) -> StepPartitionId
pub const fn id(&self) -> StepPartitionId
Returns the durable 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 const fn worker_step_execution_id(&self) -> Option<StepExecutionId>
pub const fn worker_step_execution_id(&self) -> Option<StepExecutionId>
Returns the assigned worker attempt, when one has started.
Sourcepub const fn key(&self) -> &PartitionKey
pub const fn key(&self) -> &PartitionKey
Borrows the stable partition key.
Sourcepub const fn status(&self) -> BatchStatus
pub const fn status(&self) -> BatchStatus
Returns the current framework status.
Sourcepub const fn exit_status(&self) -> &ExitStatus
pub const fn exit_status(&self) -> &ExitStatus
Borrows the latest stable exit status.
Sourcepub const fn counts(&self) -> ExecutionCounts
pub const fn counts(&self) -> ExecutionCounts
Returns the latest durable counters.
Sourcepub const fn context(&self) -> &ExecutionContext
pub const fn context(&self) -> &ExecutionContext
Borrows the redacted partition context.
Sourcepub const fn version(&self) -> ExecutionVersion
pub const fn version(&self) -> ExecutionVersion
Returns the optimistic-lock version.
Trait Implementations§
Source§impl Clone for StepPartition
impl Clone for StepPartition
Source§fn clone(&self) -> StepPartition
fn clone(&self) -> StepPartition
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 StepPartition
impl Debug for StepPartition
impl Eq for StepPartition
Source§impl PartialEq for StepPartition
impl PartialEq for StepPartition
impl StructuralPartialEq for StepPartition
Auto Trait Implementations§
impl Freeze for StepPartition
impl RefUnwindSafe for StepPartition
impl Send for StepPartition
impl Sync for StepPartition
impl Unpin for StepPartition
impl UnsafeUnpin for StepPartition
impl UnwindSafe for StepPartition
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