Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put a map, map_err, map_fail function of the various *Status structs #613

Open
mulkieran opened this issue Apr 8, 2021 · 1 comment
Open

Comments

@mulkieran
Copy link
Member

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
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants