You can rewrite it using let-or-else to get rid of the unwrap, which some would find to be more idiomatic.
let value = Some(param.as_ref()) else {
// Handle, and continue, return an error etc
}
// Use `value` as normal.