macro_rules! wrap_ok { ($e:expr) => { ... }; }
Performs “Ok-wrapping” on the result of an expression. This is compatible with Result, Option, [ControlFlow], and any type that implements the unstable [std::ops::Try] trait.
Result
Option
ControlFlow
std::ops::Try
The destination type must be specified with a type ascription somewhere.