pub async fn read_any_msg_async<M: Message, R: AsyncRead + Unpin>(
read: &mut AsyncPeekReader<R>,
) -> Result<(MavHeader, M), MessageReadError>
Available on crate feature
tokio-1
only.Expand description
Asynchronously read and parse a MAVLink 1 or 2 message from a AsyncPeekReader
.