The rigid vang will support the mast, however, there are two issues to deal with, one is supporting the mast and the other is preventing or reducing the amount the boom swings while at dock or anchored. Since the rigid vang is spring loaded, it will cause the boom to bounce up and down, this wears on the vang and the shackles attaching the mainsheet to the traveler and boom. And, with all that movement, the vang may well squeak a lot.
It is best to stabilize the boom, a topping lift or using the main halyard is one part. The other part is using the traveller, main sheet, and a third line to secure the boom. The less the boom moves, the less wear on the shackles connecting the traveller to the sheet. Notice the wear on the first and last shackles, it's not the best photo, but there is significant wear and reduction in strength. Left unchecked the wear can result in a catastrophic failure in the shackles leading to a wildly flailing boom.
View attachment 226817