Pretty sure that mosh uses ssh initially and then the communication is over udp. Not sure if an ssh connection is even maintained then.
Tmux I guess you would run locally and put in the background when you want to work on something else. But then your ssh connection could still drop or tmux could crash on your local machine.