Function unsigned_varint::aio::read_usize
source · pub async fn read_usize<R: AsyncRead + Unpin>(
reader: R
) -> Result<usize, ReadError>Expand description
Try to read and decode a
usize
from the given AsyncRead type.
pub async fn read_usize<R: AsyncRead + Unpin>(
reader: R
) -> Result<usize, ReadError>Try to read and decode a
usize
from the given AsyncRead type.