1 unstable release
0.1.0 | Nov 29, 2021 |
---|
#1583 in Asynchronous
7KB
102 lines
tokio-async-write-utility
Some helper functions for types impl AsyncWrite
.
It currently provides the following functions through trait AsyncWriteUtility
:
-
fn poll_write_vectored_all(Pin<&mut Self>, &mut Context<'_>, &mut [IoSlice<'_>]) -> io::Result<()>
-
fn write_vectored_all(&mut self, &mut [IoSlice<'_>]) -> WriteVectorizedAll
which is equivalent to:
async fn write_vectored_all(&mut self, &mut [IoSlice<'_>],) -> io::Result<()>
Dependencies
~2.1–7.5MB
~50K SLoC