Skip to main content

Module write_concern

Module write_concern 

Source
Expand description

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

Structs§

WriteConcernOptions
Per-write wait policy. Timeout starts when the receiving node applies the update. Transport and actor admission have their own deadlines.
WriteConcernOptionsBuilder
Use builder syntax to set the inputs and finish with build().
WriteConcernReceipt
Actual acknowledgement progress. The receiving node always counts as one. An unknown replica count is represented by None for local-only writes.

Enums§

WriteConcern
Total acknowledgements, including the receiving node.
WriteConcernOutcome
WriteConcernPolicyError

Constants§

MAX_WRITE_CONCERN_POLICY_BYTES
MAX_WRITE_CONCERN_REPLICAS

Functions§

preflight_policy
preflight_result