read_raw_versioned_msg_async

Function read_raw_versioned_msg_async 

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

Asynchronously read and parse a MAVLinkMessageRaw of the specified version from a AsyncPeekReader.