Function read_versioned_msg_async

Source
pub async fn read_versioned_msg_async<M, R>(
    r: &mut AsyncPeekReader<R>,
    version: ReadVersion,
) -> 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.