#[non_exhaustive]pub enum ConnectionCoreInvariant {
FrameContractViolation(FrameContractViolation),
MissingWrite {
operation: OperationId,
effect: EffectId,
},
DiscardedWriteMismatch {
expected: OperationId,
actual: OperationId,
},
WriteIdentityMismatch {
operation: OperationId,
expected: EffectId,
actual: EffectId,
},
UnexpectedWrite {
operation: OperationId,
effect: EffectId,
},
WritePolicyMismatch {
operation: OperationId,
effect: EffectId,
disposition: InputDisposition,
},
ReservationAccounting,
WriteAccounting,
WriteProgressContract {
written: usize,
remaining: usize,
},
RecoveryJournalCapacity,
Recovered,
}Expand description
Fatal disagreement between the aggregate policy and frame owners.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FrameContractViolation(FrameContractViolation)
A safe frame implementation changed its byte-view shape after commit.
MissingWrite
Policy required a frame that the aggregate writer did not own.
Fields
operation: OperationIdAccepted operation that should own the frame.
DiscardedWriteMismatch
A discarded frame belonged to a different operation than policy named.
Fields
expected: OperationIdOperation named by policy.
actual: OperationIdOperation retained by the writer.
WriteIdentityMismatch
Policy and writer disagree about one accepted operation’s write identity.
Fields
operation: OperationIdAccepted operation whose identity diverged.
UnexpectedWrite
The writer retained a frame with no matching policy ownership.
Fields
operation: OperationIdOperation named by the unexpected frame.
WritePolicyMismatch
Exact writer progress could not be applied to the corresponding policy record.
Fields
operation: OperationIdOperation whose frame progressed.
disposition: InputDispositionPolicy classification that rejected the progress.
ReservationAccounting
Reservation accounting detected impossible release or commit state.
WriteAccounting
Outbound retained-byte accounting detected an impossible release.
WriteProgressContract
A transport reported positive progress beyond the exact supplied write slice.
Fields
RecoveryJournalCapacity
Preallocated recovery-journal capacity disagreed with configured ownership bounds.
Recovered
Explicit recovery permanently consumed this fixed-epoch owner.