How do you calculate the Future types of a Hyper Tokio service?

Typically map_err adapter is used to convert from one error type to another.

You're brave for using unboxed types in this circumstance - most people (I think) would work with boxed (type erased) return types.

1 Like