Why Don't Mushrooms Transmit E Coli?

Since cattle manure can infect groundwater, and e coli can make its way into crops like lettuce (so I’ve heard) why don’t mushrooms get contaminated? Is the manure they grow in sterilized?

Compost for commercial mushroom farming is pasteurized to kill bacteria and foreign fungi spores:

Ahh… hot shit. Thanks :smiley: