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
Currently it's only implemented for &Bytes, so that advancing the buffer will not advance the Bytes properly. This is an issue if one's doing bytes.as_ref().into_buf() to temporarily obtain a Buf without consuming the Bytes.
Implementing Buf for Bytes would also work in my situation.
The text was updated successfully, but these errors were encountered:
NeoLegends
changed the title
Implement Buf for &mut Bytes
Consider implementing Buf for &mut Bytes
Dec 14, 2018
Currently it's only implemented for
&Bytes
, so that advancing the buffer will not advance theBytes
properly. This is an issue if one's doingbytes.as_ref().into_buf()
to temporarily obtain aBuf
without consuming theBytes
.Implementing
Buf
forBytes
would also work in my situation.The text was updated successfully, but these errors were encountered: