Function unsigned_varint::aio::read_u16 [−][src]
pub async fn read_u16<R: AsyncRead + Unpin>(reader: R) -> Result<u16, ReadError>
Try to read and decode a
u16
from the given AsyncRead
type.
pub async fn read_u16<R: AsyncRead + Unpin>(reader: R) -> Result<u16, ReadError>
Try to read and decode a
u16
from the given AsyncRead
type.