Function 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: AsyncRead + Unpin,
Expand description

Asynchronously read and parse a MAVLink 2 message from a AsyncPeekReader.