PS it's never affected my ability to get a job OP. It might in some roles, but I've had jobs with vulnerable people that required a DRB and it's never been an issue. Nobody has ever asked except for the odd place who didn't care about it. I was working at a bank when I went bankrupt.
It MAY affect some jobs but many won't even ask. IMO if you're at a stage of it being so bad you're considering bankruptcy, I wouldn't necessarily let worry about future jobs stop you as it's completely unknown. And you'll probably gain so much more in freedom and peace of mind despite how stressful it is to go through the process.
Make sure you open a few regular bank accounts at another bank before you pull the trigger as for months or years after you'll only be able to open cash accounts and many banks won't accept you for that. I opened up a few current accounts with a brand new bank before the bankruptcy went through so I had a normal account to use while my others were all frozen.
Mine was a DRO if that makes any difference but I'm sure a lot applies to a 'proper bankruptcy' too. Hope you find a way through this. I'm all for personal responsibility (lord knows I've had to have a lot to have kept servicing the debt and never defaulting, being unable to access any credit at all for years following the event and being forced to budget hardcore knowing there's no safety net, and the immense drain being in increasing debt had on my life and mental health while also very poorly and grieving) but there's also something to be said for the other side, that banks do prey on vulnerable people who they know full well can't repay the debt (or they wouldn't do it, if they weren't getting interest from you). Payday loans are targeted at desperate people with little other option. I had my credit card limit increased every six months without my permission, was offered increasing amounts of loans despite being on £11k per year my CC limit was a combined £10k. Yes we all have to take personal responsibility and despite the circumstances leading to my debt listed above (dead parent, severe ill health, no safety net or benefits, it was get into debt or be on the streets) I know it was nobody's fault but my own in a way. Well, it doesn't feel looking back it was all my fault given I couldn't magic up money elsewhere, was denied benefits, did everything I could to get better, couldn't not bury my mum, and it takes time to train and get a better education and better paid job. I'm just saying even though there are a lot of moving parts and it's a complex issue with some fault on several sides you shouldn't beat yourself up. Lots of people fall on hard times and you can't get blood from a stone. Banks know full well lending money is a gamble, sometimes they profit and sometimes they don't. If there weren't cases where people took debt then couldn't service it due to changes in circumstances and they couldn't absorb that cost they wouldn't lend. They come out on top no matter what x