Closed dylanplecki closed 8 months ago
Fixes #654.
Adds default implementations for Buf and BufMut on Pin<T> where T is a type that implements Buf/BufMut and Unpin.
Buf
BufMut
Pin<T>
T
Unpin
See the Rust docs (link) for more information on pinned types.
Closing as a breaking change. See https://github.com/tokio-rs/bytes/issues/654.
Fixes #654.
Adds default implementations for
Buf
andBufMut
onPin<T>
whereT
is a type that implementsBuf
/BufMut
andUnpin
.See the Rust docs (link) for more information on pinned types.