Carry a small jar of honey with you on a trail, and if you tear your tyre beyond repair, simply smear a small (thin, or else the honey will just run) amount onto the crack and then leave in the sun to dry and harden, you may need to repeat the process again to get a second layer but I have done this a few times. It also works with inner tubes if you have run out of patches.
I don’t run tubeless but I guess you could fix that too if you tear a tyre but probably need 4 layers min I’d say.
Edit, with inner tubes it’s really only a get me home measure but comfortably holds 35 psi
This trick works so well, Kenda have named a new line of tyres in its honour: