Slice the mushrooms and onion, and beat the eggs.
Heat oil in a pan and stir-fry the mushrooms and onion.
Season with salt and pepper.
Add a pinch of salt to the eggs, mix, and pan-fry to make egg patties.
Serve the rice, and top with the stir-fried mushrooms and egg patties.