Function sage_mqtt::codec::read_byte[][src]

pub async fn read_byte<R: AsyncRead + Unpin>(reader: &mut R) -> SageResult<u8>
Expand description

Read the given reader for a byte value. In case of success, returns an u8