Cover bottom of pie shell with grated cheese. Chop onion and mushrooms; saute in butter, salt and pepper. Pour mixture over cheese.
Make a custard by beating together eggs, milk, flour, salt and dry mustard. Pour custard over mushroom layer. Bake at 375 degrees for 40-45 minutes or until solid in the center when jiggled.