pub async fn read_v2_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 2 message from a AsyncPeekReader
.