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.

0 Likes

#2

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

You should join the RFC discussion

0 Likes

#3

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

0 Likes

closed #4

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

0 Likes