Available on crate feature
async
only.Expand description
Various utilities for developing async Sources. Unless you’re actually developing your own Sources, this module probably won’t be very useful to you.
Structs§
- Bytes
From Async Bufread - VecFrom
Async Bufread - A future returned by
u8_vec_from_async_bufread
andbytes_from_async_bufread
. See those functions for more details.
Functions§
- async_
bytes_ from_ file - Like
super::async_u8_vec_from_file
but uses abytes::Bytes
instead of aVec<u8>
. - async_
u8_ vec_ from_ file - Reads all the data from a file and asynchronously reads it into a
Vec<u8>
. - bytes_
from_ async_ bufread - Like
super::u8_vec_from_async_bufread
but uses abytes::Bytes
instead of aVec<u8>
. - u8_
vec_ from_ async_ bufread - Reads all the data from a
tokio::io::AsyncBufRead
and reads it into aVec<u8>
.