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


#1

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.


#2

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

You should join the RFC discussion


#3

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