Skip to main content

Crate actordb_protocol

Crate actordb_protocol 

Source
Expand description

Committed Prost bindings and stable limits for peer and application protocols.

Regenerate with cargo run -p actordb-protocol --features codegen --bin generate. Append -- --check to verify schema/binding agreement without writing files.

Modules§

client
meta
write_concern
Per-write acknowledgement policy and progress receipts. Acknowledgement thresholds do not establish a global mutation order.

Structs§

RecordVersion
A totally ordered hybrid-clock timestamp.

Constants§

CLIENT_CAPABILITIES
CLIENT_CAPABILITY_QUERY
CLIENT_CAPABILITY_SCAN
CLIENT_CAPABILITY_WRITE_CONCERNS
CLIENT_PROTOCOL_VERSION
MAX_BATCH_ITEMS
MAX_FRAME_BYTES
MAX_HANDSHAKE_BYTES

Functions§

client_auth_proof
Canonical challenge proof. Client credentials use their own domain and never authenticate a peer. Both identities, offers, and fresh challenges are bound.
preflight_client_frame
Allocation-free protobuf preflight. Bounds repeated fields before Prost materializes empty nested messages. Rejects duplicate envelope/operation variants rather than accepting protobuf’s last-one-wins interpretation.
valid_client_hello
verify_client_auth