pub async fn read_v2_msg_async<M: Message, R: AsyncReadExt + Unpin>(
read: &mut AsyncPeekReader<R>,
) -> Result<(MavHeader, M), MessageReadError>
Available on crate feature
tokio-1
only.Expand description
Async read a MAVLink v2 message from a Read stream.