[][src]Module crdts::pncounter

This module contains a Positive-Negative Counter.

Structs

Op

An Op which is produced through from mutating the counter Ship these ops to other replicas to have them sync up.

PNCounter

PNCounter allows the counter to be both incremented and decremented by representing the increments (P) and the decrements (N) in separate internal G-Counters.

Enums

Dir

The Direction of an Op.