To make the donut dough, start by activating yeast in warm milk for about 5 minutes, until bubbly. Then, transfer this into the bowl of a stand mixer, together with flour, caster sugar, salt, and eggs. Mix on medium speed with the paddle attachment for 8-10 minutes. Then, add in the softened butter, and mix for a further 5 minutes. If the dough is too wet or flour-y at this point, adjust with more flour or water.
First proof
Transfer the dough into a large clean bowl, cover with a cloth or kitchen towel, and let it proof for 45-60 minutes, until it doubles in size.
Pastry cream
While the dough is proofing, make the vanilla pastry cream by heating up the heavy cream and milk in a pot or saucepan until just steaming. Then, in a bowl, whisk together egg yolks, caster sugar, and salt for 2-3 minutes until creamed and pale, then whisk in the cornstarch and all-purpose flour. Pour half of the hot cream and milk into the bowl, whisk to combine, then pour everything back into the pot. Bring the mixture to a boil over medium heat, whisking continuously. Let it simmer for 2 minutes, still whisking it, then remove from the heat. Whisk in the vanilla extract and rum, then transfer into a tray or container. Cover with plastic wrap (the plastic wrap should touch the surface of the pastry cream), and keep it in the fridge to chill until cold.
Shaping and second proof
When the dough is proofed, punch it down. Then, using a rolling pin, roll it out into a large rectangle less than 2cm thick. (It should get to about 25cm x 50cm.) Using a 10cm ring cutter, cut out discs of dough, and transfer the dough discs onto parchment squares. Combine all the remaining dough, then roll it out and punch out a few more dough discs. (You should get about a dozen donuts in total this way.) Cover all the dough discs with a cloth, and let them proof for 30-40 minutes, until they double in height.
Heat up oil
Pour oil in a pot until at least 7cm (2.8 inches) deep. Heat it up to 180°C (356°F).
Deep-fry donuts
When the donuts are proofed, deep-fry them in the oil for 2 minutes, then flip it and fry for another 2 minutes, until golden brown on both sides. Do this in batches so as not to overcrowd the pot. When done, take the donuts out of the oil and cool down on a tray.
Caramel
Add a third of the sugar into a saucepan, and place over medium heat. Let the sugar melt, and gradually pour the rest of the sugar at the places that have melted. Heat it some more until the sugar turns amber and then into a nice browned caramel. You can swirl the saucepan around to control the melting and browning, but try not to stir it with a spoon or spatula if you can help it.
Making the crust
Working with one donut at a time, carefully dip one side of the donut into the hot caramel, and gently lift it up, letting the excess caramel drip back into the saucepan. Let the donuts cool on a wire rack, caramel-side up.
Fill donuts
Once the donuts are cooled to room temperature, poke a small hole on one side of the donut (you can use a skewer or chopstick). Transfer the pastry cream into a piping bag, and pipe the cream into the donuts. You’ll know when they’re maximally filled when the cream starts oozing back out of the hole.
Eat
Eat!! The donuts are best had immediately. But if you can’t stomach 12 at the same time, you can keep them in the fridge where they’ll last for up to 2 days.