tokio-async-write-utility

Crates.iotokio-async-write-utility
lib.rstokio-async-write-utility
version0.1.0
sourcesrc
created_at2021-11-29 05:48:16.021684
updated_at2021-11-29 05:48:16.021684
descriptionSome helper functions for types impl AsyncWrite.
homepage
repositoryhttps://github.com/NobodyXu/tokio-async-write-utility.git
max_upload_size
id489108
size9,411
Jiahao XU (NobodyXu)

documentation

README

tokio-async-write-utility

Rust

crate.io downloads

crate.io version

docs

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<()>
    
Commit count: 270

cargo fmt