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

It would be nice to unify the various statuses a bit more #436

Open
mulkieran opened this issue Mar 6, 2019 · 1 comment
Open

It would be nice to unify the various statuses a bit more #436

mulkieran opened this issue Mar 6, 2019 · 1 comment

Comments

@mulkieran
Copy link
Member

We believe that all statuses have three constructors:

  • Error
  • Fail
  • Working

The first two are nullary, the third contains an argument which is the distinct values that you can obtain from different targets when the target is actually working and stratisd can get this information. This is severely tied in to some other difficult type issues, however.

@mulkieran
Copy link
Member Author

In the near time, FromStr should be implemented separately for each *DevWorkingStatus part.

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

1 participant