Dometic 310 gravity flush toilet.
They operate the same way as a domestic toilet and come with a pedal or electric flush.
You can opt for an electric flush toilet which includes a “full tank” shut-down option.
This cuts off power to the toilet and stops the holding tank from overfilling and causing damage.