Skip to content

Conversation

peterkrull
Copy link

I think this standard implementation could be useful for BufRead, based on:

Because an EOF condition can appear here, I also think renaming ReadExactError -> OperationError to make it more general. Though, that also opens the door for more error variants being added to it, so perhaps it should be #[non_exhaustive]?

@peterkrull peterkrull requested a review from a team as a code owner May 10, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant