fn read_exact<T: PhysicalTransport>( transport: &mut T, buf: &mut [u8], ) -> Result<()>
Reads exactly buf.len() bytes from transport, looping over short reads.
buf.len()
transport