Function read_versioned_msg_async_signed

Source
pub async fn read_versioned_msg_async_signed<M, R>(
    r: &mut AsyncPeekReader<R>,
    version: ReadVersion,
    signing_data: Option<&SigningData>,
) -> Result<(MavHeader, M), MessageReadError>
where M: Message, R: AsyncRead + Unpin,
Expand description

Asynchronously read and parse a MAVLink message of the specified version from a AsyncPeekReader with signing support.

When using ReadVersion::Single(MavlinkVersion::V1) signing is ignored.
When using ReadVersion::Any MAVlink 1 messages are treated as unsigned.