A monolayer heterostructure rectifier was developed to obtain simultaneous electrical and thermal rectification.