Open
Description
In the module mempack
of chain-core, ReadBuf
looks like a statically lifetime-bound analog of Bytes
from crate bytes
. Switching the Readable
/Writable
traits to working with Bytes
/BytesMut
may enable more flexible zero-copy processing of asynchronously streamable data in the style of tokio-io.