pub struct RecoveryDecision { /* private fields */ }Expand description
One append-only recovery audit record.
Implementations§
Source§impl RecoveryDecision
impl RecoveryDecision
Sourcepub const fn id(&self) -> RecoveryDecisionId
pub const fn id(&self) -> RecoveryDecisionId
Returns the opaque append-only decision identifier.
Sourcepub const fn job_execution_id(&self) -> JobExecutionId
pub const fn job_execution_id(&self) -> JobExecutionId
Returns the execution whose observed version was resolved.
Sourcepub const fn execution_version(&self) -> ExecutionVersion
pub const fn execution_version(&self) -> ExecutionVersion
Returns the observed version before the decision.
Sourcepub const fn prior_status(&self) -> BatchStatus
pub const fn prior_status(&self) -> BatchStatus
Returns the status observed under lock.
Sourcepub const fn resulting_status(&self) -> BatchStatus
pub const fn resulting_status(&self) -> BatchStatus
Returns the durable status produced by the decision.
Sourcepub fn reason_code(&self) -> &str
pub fn reason_code(&self) -> &str
Borrows the bounded reason code.
Sourcepub fn operator_reference(&self) -> &str
pub fn operator_reference(&self) -> &str
Borrows the opaque operator correlation.
Sourcepub const fn evidence_digest(&self) -> &[u8; 32]
pub const fn evidence_digest(&self) -> &[u8; 32]
Returns the digest of externally retained evidence.
Sourcepub const fn decided_at(&self) -> SystemTime
pub const fn decided_at(&self) -> SystemTime
Returns the injected facade-clock decision time.
Trait Implementations§
Source§impl Clone for RecoveryDecision
impl Clone for RecoveryDecision
Source§fn clone(&self) -> RecoveryDecision
fn clone(&self) -> RecoveryDecision
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 RecoveryDecision
impl Debug for RecoveryDecision
impl Eq for RecoveryDecision
Source§impl PartialEq for RecoveryDecision
impl PartialEq for RecoveryDecision
impl StructuralPartialEq for RecoveryDecision
Auto Trait Implementations§
impl Freeze for RecoveryDecision
impl RefUnwindSafe for RecoveryDecision
impl Send for RecoveryDecision
impl Sync for RecoveryDecision
impl Unpin for RecoveryDecision
impl UnsafeUnpin for RecoveryDecision
impl UnwindSafe for RecoveryDecision
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