Crate try_blocks
source · [−]Expand description
Notice
This crate has been moved/renamed to tryvial. You should use that instead.
Macro for stable try blocks that performs Ok-wrapping, and otherwise tries to
achieve feature parity with RFC 1859. The macro is compatible with any type
that implements the unstable Try
trait through the use of type magic.
This crate is no_std
compatible.
Macros
Macro for the recieving end of a
?
operation.
Right now, type inference is quite finicky so you usually have to declare a concrete type somewhere.Macro for ok-wrapping any
Try
type. This works on stable through dark type magic.