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
I'm trying to read binary data from a Read with BufReader, but there is no BufRead::fill_buf() function, only BufRead::poll_fill_buf(). Looking back at the history, it seems the original fill_buf() was removed in commit edfa235, by @stjepang ("Re-export IO traits from futures" for version 0.99.7).
From the 0.99.7 release notes: "io traits are now re-exports of futures-rs types, allowing them to be implemented"; but that doesn't seem to imply any such removals, so is there something I'm missing?
For now I'm (trying to) implement my own future type for this, but do I need to / should I have to?
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I'm trying to read binary data from a
Read
withBufReader
, but there is noBufRead::fill_buf()
function, onlyBufRead::poll_fill_buf()
. Looking back at the history, it seems the originalfill_buf()
was removed in commit edfa235, by @stjepang ("Re-export IO traits from futures" for version 0.99.7).From the 0.99.7 release notes: "io traits are now re-exports of futures-rs types, allowing them to be implemented"; but that doesn't seem to imply any such removals, so is there something I'm missing?
For now I'm (trying to) implement my own future type for this, but do I need to / should I have to?
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: