It depends greatly on the fish and its temperament.
A friend of mine has 2 longnose type puffers and they raised hell with a starfish and crabs that he had.
I had a Porky Puffer and he may have eaten 1 or 2 small crabs and an Arrow Crab, but other than that, he left most crabs/snails alone.