Closed leptonyu closed 2 years ago
A memory mapped file can be used with the Buf trait via the &[u8] type. I'm not aware of any other implementations. We will not add such an impl to bytes itself as this is a footgun for anyone who uses it from an async application.
Buf
&[u8]
bytes
A memory mapped file can be used with the
Buf
trait via the&[u8]
type. I'm not aware of any other implementations. We will not add such an impl tobytes
itself as this is a footgun for anyone who uses it from an async application.