Suggestion: Make Reader and Writer generic in their type of error

I opened an issue for this a while ago but it never got any attention https://github.com/rust-lang/rust/issues/18414, I’d like to discuss it now because it will be hard to change such core traits post-1.0.

Have you seen the IO reform RFC? It proposes adding an associate Err type to both traits.

You should join the RFC discussion

Aha! I hadn’t seen that. Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.