Skip to content

Conversation

Maaarcocr
Copy link

Why?

Solves #178

How?

I've changed the type to be what was proposed in the issue and then followed the compiler warnings to make rustc happy.

I've also added a free function map_buf which allows to map a function over the buffer on BufResult. Let me know if that's okay, but it made writing some code easier.

@Maaarcocr Maaarcocr changed the title Update BufResult<T, B> to be Result<(T,B), BufError<B>> Update BufResult<T, B> to be Result<(T,B), BufError<B>> Apr 14, 2023
ollie-etl added a commit to etlsystems/tokio-uring that referenced this pull request Oct 2, 2023
Copy link

@ileixe ileixe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been used this change for a while and its rationale really works well for our side.

Highly recommend to merge this change.

@ollie-etl
Copy link
Contributor

Updated in #295

@ollie-etl ollie-etl closed this Feb 13, 2024
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.

3 participants