You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use io_uring's buffer pools, I think we need a method of reading which lets the library manage a buffer pool and reading to return a buffer without the caller providing one. I'm not sure what the work flow between concrete and abstract types looks like here, or what exactly should be returned (&[u8]? OwnedBuf? An associated type?).
The text was updated successfully, but these errors were encountered:
I don't think it can return &[u8] since the io-uring managed buffer pool cannot have lifetime &'static and it also needs a Drop::drop impl to recycle the buffer.
To use io_uring's buffer pools, I think we need a method of reading which lets the library manage a buffer pool and reading to return a buffer without the caller providing one. I'm not sure what the work flow between concrete and abstract types looks like here, or what exactly should be returned (
&[u8]
?OwnedBuf
? An associated type?).The text was updated successfully, but these errors were encountered: