People with diabetes have been swimming (and doing other exercise) for decades before the advent of CGMs without hypoing.
As with all exercise, you need to work out what impact it has on your levels and learn how to manage it.
To be honest, when exercising, if my levels are to drop, this happens way too fast for any CGM to catch it in time so I prepare in advance.
If you think your levels are going to drop, either eat something before you start or reduce your bolus on your last meal.
After swimming review your Libre graph and learn what happens to your levels (they may go up) and then adapt your management to cater for it.
For example, I am a climber, it is not advised to carry my phone with me in case I drop it or fall on it. I have learned that climbing causes my levels to climb with me so I take more insulin and review my levels every 30 to 60 minutes.
What gives me confidence? Experience.
Hopefully, as someone newly diagnosed you are hypo aware so you will notice when your levels start to fall (as you would if your Libre fails ... because technology does fail) and you can handle it.
The other thing that can give you confidence is to have someone with you. They could either be in the water or, if possible, in your pool watching and can call upon the life guard if you get into trouble whether it is diabetes related or not.
My advice is to learn to be able to cope without technology. It's fantastic when it works but it can fail. It never fails at a convenient time. But it is less stressful if you have practiced it such as when swimming.