I literally have VERY little XP with rust, but tested it locally and it works. If the way I did it is suboptimal, feel free to capture the idea and implement it better! :)
Can confirm that it works beautifully well on my system:
steam and overlay keys disappear after 1st resume and reappear every other suspend/resume. Steam-patch service doesn't pick them when they are back, a service restart is needed (if you are in-game, the service restart switches your game to bg, which is a little bit annoying). With this patch the reappearing device is catched after resume and things go smooth ;)
I literally have VERY little XP with rust, but tested it locally and it works. If the way I did it is suboptimal, feel free to capture the idea and implement it better! :)