pub fn require_result_image(
session: &CfsSessionGetResponse,
) -> Result<(), Error>Expand description
Reject sessions that didn’t produce a result image.
BadRequest when the session has no result_id — callers
shouldn’t try to PATCH a non-existent image. csm-rs’s deeper check
inside collect_and_stamp_image remains as a defence-in-depth
safety net.