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.
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.