inspector extends popular data structures (such as
with additional methods for inspecting their payload. It is inspired by the
Since no such methods are available by default on
Result types, this crate
implements a new traits for these types, which augment the respective types with various
Implementation and availability of each trait is guarded by the dedicated feature, so that
you can choose which one is available. Sometimes you want these only for debug purposes, but
prefer to always leave the code in place. Feature
debug-only helps in this case.
If enabled and compiled in
release mode the combinators become effectively NOP.
This feature does nothing in
debug-only- turnes the combinators into NOP in release mode
option- enables trait
result- enables trait
futures- enables trait
Do something with the error of a future, passing it on. This combinator was implemented in futures-0.2 series (which is now dead), but never made it back to futures-0.1.x series.