pub async fn read_build_mode<R: AsyncReadExt + Unpin>( r: &mut R, ) -> Result<BuildMode>
Read a build mode from the stream.