Function read_any_raw_message_async

Source
pub async fn read_any_raw_message_async<M: Message, R: AsyncRead + Unpin>(
    reader: &mut AsyncPeekReader<R>,
) -> Result<MAVLinkMessageRaw, MessageReadError>
Available on crate feature tokio-1 only.
Expand description

Asynchronously read a raw MAVLink 1 or 2 message from a AsyncPeekReader.