I am not a Mom, I am a Dad, but I do get angry/enraged at my DD sometimes (she is almost 27 months).
What I do is different depending on the circumstance.
For nap time/sleep time I use steps WELL before I get to the stage of frustration. First off, I just lay with her and allow a certain amount of time for her to play, roll around, talk to her stuffies, talk to me, etc. I do very little interaction with her at this time. When I do speak back to her I whisper only. This usually gets her to whisper back to me instead of talking.
When it is starting to frustrate me or when I have decided that her talk/play time is up (about 10-15 minutes) I then just hum to myself rythmically and stop interacting with her at all. This helps me insure that I am not getting worked up. For one, it is somewhat meditative. And secondly, it is rhythmic and I can tell if I am speeding up the humming or it is getting louder. Then I slow it down again and know that I am staying even keeled. Eventually she bores, realizes I am not there to play with her and she goes to sleep. The whole thing usually takes 30-45 minutes.
When it comes to other times, like when she is awake and going bezerk and not listening and I am frustrated and have a short fuze I do other things. I find something fun for her or distracting. I take her outside and do sidewalk chalk. I put on the ceiling fan and blow bubbles. I make funny faces at her.. etc.
Or, if I am really out of control I put on one of the signing time videos and give myself a few minute time out and try to relax a minute and separate myself from the situation.
When it is an on-going thing and I have a lot of time to kill before someone can help (like before her mom comes home from work). Sometimes knowing it is another hour or two dealing with her and knowing it is going to take A LOT of eergy to do so makes me crazy. I then take her for a walk. We walk down our street and I let the world entertain her. I let her stop at every insect, every curb, every gate, whatever. Even if It takes us an hour to go one block it is less exhausting sometimes than entertaining her and keeping us both happy.