Function unsigned_varint::aio::read_usize [−][src]
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.
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.