Expand description
Driver-facing API shapes (JSON-able), mirroring the conformance
ClientInstance contract: sync reports, conflicts, rejections, row
states, subscription states. Serialized as camelCase to cross the shim
boundary unchanged.
Structs§
- Client
Limits - Client limits (§4.2 request knobs).
- Conflict
Record - Lease
State - §7.3.5: the client’s opaque auth-lease state —
leaseId/expiresAtMsfrom the lastLEASEframe, anderrorCodeonce a round was rejected with a request-level lease code (stop-and-surface; no data purge). - Presence
Peer - §8.6 a peer’s ephemeral presence document on a scope key.
- Rejection
Record - RowState
- Schema
Floor - Subscription
State View - Sync
Report - Window
Base - §4.8 window base: one table, the scope variable whose values are the
window units, any fixed scopes shared by every unit, and host-opaque
paramscarried onto each unit’s subscription.
Enums§
- Mutation
- One local mutation (§6.1 shapes, schema-agnostic local form per §0).
- Sync
Outcome sync()never panics or errors out-of-band: transport and protocol failures come back asFailed(the driver’s{ ok: false }).