Crates.io | tokio-async-write-utility |
lib.rs | tokio-async-write-utility |
version | 0.1.0 |
source | src |
created_at | 2021-11-29 05:48:16.021684 |
updated_at | 2021-11-29 05:48:16.021684 |
description | Some helper functions for types impl AsyncWrite. |
homepage | |
repository | https://github.com/NobodyXu/tokio-async-write-utility.git |
max_upload_size | |
id | 489108 |
size | 9,411 |
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<()>