macro_rules! wrap_ok {
    ($e:expr) => { ... };
}
Expand description

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.

The destination type must be specified with a type ascription somewhere.