Function read_any_msg_async_signed

Source
pub async fn read_any_msg_async_signed<M, R>(
    read: &mut AsyncPeekReader<R>,
    signing_data: Option<&SigningData>,
) -> Result<(MavHeader, M), MessageReadError>
where M: Message, R: AsyncRead + Unpin,
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.