Nothing forces you to panic in Rust any more than anything forces you to call abort() in C.
let a = b.unwrap();
if (b == NULL) { abort(); } a = *b;