Closed ghost closed 3 years ago
I'm considering adding the following type aliases:
type BoxedAsyncRead = Pin<Box<dyn AsyncRead + Send + 'static>>; type BoxedAsyncWrite = Pin<Box<dyn AsyncWrite + Send + 'static>>;
Then, AsyncReadExt and AsyncWriteExt could also have methods boxed_read() and boxed_write().
AsyncReadExt
AsyncWriteExt
boxed_read()
boxed_write()
Would anyone else find this useful?
I have added BoxedReader and BoxedWriter to the io module.
BoxedReader
BoxedWriter
io
I'm considering adding the following type aliases:
Then,
AsyncReadExt
andAsyncWriteExt
could also have methodsboxed_read()
andboxed_write()
.Would anyone else find this useful?