Function read_any_msg_async_signed

Source
pub async fn read_any_msg_async_signed<M: Message, R: AsyncRead + Unpin>(
    read: &mut AsyncPeekReader<R>,
    signing_data: Option<&SigningData>,
) -> Result<(MavHeader, M), MessageReadError>
Available on crate features tokio-1 and signing only.
Expand description

Asynchronously read and parse a MAVLink 1 or 2 message from a AsyncPeekReader with signing support.

MAVLink 1 messages a treated as unsigned.