Membrane can better treat wastewater, recover valuable resources