Function mavlink::read_versioned_msg_async

source ยท
pub async fn read_versioned_msg_async<M, R>(
    r: &mut AsyncPeekReader<R>,
    version: MavlinkVersion,
) -> Result<(MavHeader, M), MessageReadError>
where M: Message, R: AsyncReadExt + Unpin,
Available on crate feature tokio-1 only.