Performing this refactor may potentially reduce the need for unwraps. Partly spurred from: https://github.com/OpenDevicePartnership/embedded-usb-pd/pull/60#discussion_r2636429100