I assume she is a write-off.
Might not be as safe an assumption as you think.
Warships are hundreds of millions to billions of dollars, and they are built in limited numbers unless you happen to be one of just three nations currently active. Replacing her would be uber expensive with new build because it would require change of an existing contract, or drafting of a new one. The drafting of the contract can frequently cost more than any individual platform, and drag out for years.
Never discount the national pride factor either, she will never be what she was, but they can make her a solid combat platform again, just takes time and money. The RAN effectively rebuilt
HMAS Westralia after her fire, this was an old platform due to decommission within the next decade, but she was still repaired. The USN effectively rebuilt both
USS Stark and
USS Cole, and they were both badly damaged. The RN repaired
HMS Nottingham after she grounded, albeit she didn't sink though.
Nations frequently repair apparent write-offs, so don't call her gone just yet.
Considering she took flooding all the way into the engine room because of defective shaft seals, and that she's spent how long effectively completely submerged? The corrosion visible on the outside of the hull is going to be endemic to everything inside. If they don't send her to the breakers I'll be shocked.
Rust isn't that big an issue, trust me. Warships are in a constant losing battle with corrosion, and while her's looks bad, it's actually not. Most of that is rust run, where the colour of the rust has run down or along the side of the ship. Noting the amount that is still protected by paint, which is obviously holding quite well, I'd say rust is the least of their concerns.