-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
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.
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.