Provide a common API across `Option` and the `Ok` and `Err` variants of `Result`.

[Rendered](https://github.com/bjz/rfcs/blob/option-result-api/active/0000-option-result-api.md)
If the rest is accepted, +1 on this.