Expand description
This is a collection of macros that work the “opposite” way of the ? operator.
That is, they early-return if the input is successful, and evaluate to the error (if there is any).
This crate is no_std-compatible.
There is a nightly-exclusive item guarded behing the nightly feature.
Macros§
- untry_
ok_ to_ some - Like
untry_result, but it swapsOkforSome. - untry_
option - The opposite of
?forOption. - untry_
residual nightly - Almost the opposite of
?for arbitraryTrytypes. - untry_
result - The opposite of
?forResult.