The toilet was just a hole over a shallow pit, fairly clean most of the time. We had no electricity in our village so at night I would bravely make my way to the hut with my flashlight. Night inevitably brought out the giant but harmless beetles that enjoyed hanging out around the hole. He came scrambling out of there pretty fast and raging mad. Be prepared - bring your own tissue and always carry hand sanitizer gel in your daypack.
Some toilets are pit, some are western-style and very few flush on their own.
You may be asked to pay a few shilling for an attendant to fill the tank with water and flush it for you after you've finished your business. Unless you fly from lodge to lodge, you will need to use the available rest stops. This is all part of the third world experience.