Skip to content

Dedicated enum instead of Ok(0) in read #4354

Answered by Darksonn
agluszak asked this question in General
Discussion options

You must be logged in to vote

That's certainly a reasonable way to approach it, and I'm sure it has been suggested before, but we chose to keep it as an integer to mirror the standard library traits.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by agluszak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants