Trait garage_table::crdt::AutoCRDT [−][src]
All types that implement Ord
(a total order) can also implement a trivial CRDT
defined by the merge rule: a ⊔ b = max(a, b)
. Implement this trait for your type
to enable this behavior.
Associated Constants
const WARN_IF_DIFFERENT: bool
[src]
WARN_IF_DIFFERENT: emit a warning when values differ. Set this to true if
different values in your application should never happen. Set this to false
if you are actually relying on the semantics of a ⊔ b = max(a, b)
.