Closed
Description
std::io::Cursor
has a fn to update the position yet Take
does not have a fn for setting the limit. Being able to update the limit is required for implementing various traits for Take. For example, Read
works by updating the limit.
I was hoping to implement Buf
for Take
(in the bytes crate) but am currently unable to do so.