Lay out 6 slices of brioche bread. Spread Dijon mustard on 3 slices and mayonnaise on the other 3. On a mustard slice, layer 2 slices of ham and 1 slice of Swiss cheese. Add a middle slice of bread, mustard-side down, then layer 2 slices of turkey and the second slice of Swiss cheese on top. Cap with the last slice of bread, mayonnaise-side down. Repeat for the second sandwich. Press each sandwich gently with your palm to compact it, then push 2 toothpicks through each one, near opposite corners.
In a wide, shallow bowl, whisk together 2 large eggs, 1/4 cup of whole milk, 2 tablespoons of all-purpose flour, 1 teaspoon of granulated sugar and 1/4 teaspoon of kosher salt until completely smooth, about 30 seconds, with no lumps.
Pour 2 cups of canola oil into a heavy pot or Dutch oven (2 to 3 inches deep) and clip a thermometer to the side. Heat over medium-high until the oil reads 350°F. Line a plate with paper towels and set a wire rack over a baking sheet nearby. For the pan-fried version, melt 2 tablespoons of unsalted butter in a large skillet over medium heat instead.
Hold a sandwich by its toothpicks and lower it into the batter, turning once to coat all sides and edges. Lift it out and let the excess drip off for 3 seconds. Lower gently into the 350°F oil and fry for 3 to 4 minutes without touching it, until the bottom is deep golden. Flip with a wide slotted spatula and fry the other side for 3 to 4 minutes more, until evenly golden and the cheese is melting at the edges. For pan-frying, cook 3 to 4 minutes per side in the buttered skillet, covering loosely with foil for the last 2 minutes.
Lift the sandwich out with the slotted spatula, drain on the paper-towel-lined plate for 30 seconds, then move to the wire rack. Pull out the toothpicks. While the sandwich is still hot, dust the top generously with powdered sugar through a small sieve. Repeat with the second sandwich, letting the oil return to 350°F first.
Cut each sandwich in half on the diagonal with a sharp serrated knife, one confident cut. Serve immediately with 1/2 cup of raspberry jam in a small bowl on the side for dipping.