Hydrometallurgical treatment of metal‐containing solid waste using anaerobic processes