Skip to content

Could ErrMode::Incomplete include an instance of E? #693

Answered by epage
zslayton asked this question in Q&A
Discussion options

You must be logged in to vote

While complete_err exists, I suspect this is overall a workflow oversight, especially as we've put more emphasis on context.

I suspect there will be some tension in use cases we Incomplete(Needed, E) will be bigger which can be slower. However, I am working on some changes for 0.7 that put all of ErrModes functionality behind a trait (to make it optional) which would allow you to provide your own ErrMode, see #75.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zslayton
Comment options

Answer selected by zslayton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants