Put a map, map_err, map_fail function of the various *Status structs
mulkieran opened this issue · 1 comments
mulkieran commented
I think this would make managing the responses a good deal easier, and the three possible values will remain for a very long time.
mulkieran commented
Statuses always have three possible values, unlike the two that Option
and Result
type have. It's cumbersome explicilty dealing with them in stratisd, having functions in each type might be nice.