Function mavlink::read_v2_msg_async

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

Async read a MAVLink v2 message from a Read stream.