pub struct UnresolvedWrite {
pub seq: SequenceNumber,
pub tool: String,
}Expand description
The outstanding write an abandonment left unsettled.
Rides on Event::RunAbandoned::unresolved_write when a run parked at a
dangling Effect::Write intent is abandoned. It names the intent’s log
position and the tool it called, mirroring the evidence the reconciliation
refusal (409 needs_reconciliation) surfaces, so the abandonment record
points at exactly the write whose effect stays unknown.
Deliberately minimal: seq and tool are the evidence, not the whole
recorded intent. The full intent (input, effect, idempotency key) is still
in the log at seq for anyone who wants it; this struct is the pointer to
it, not a copy. Carries no floats, so it derives Eq.
Fields§
§seq: SequenceNumberThe log position of the write intent that was left unresolved. A genuine
log position, so it rides as a SequenceNumber, exactly as the
correlation seqs on the call events do.
tool: StringThe name of the tool the unresolved write called.
Trait Implementations§
Source§impl Clone for UnresolvedWrite
impl Clone for UnresolvedWrite
Source§fn clone(&self) -> UnresolvedWrite
fn clone(&self) -> UnresolvedWrite
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more