Function read_any_msg_async

Source
pub async fn read_any_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 1 or 2 message from a AsyncPeekReader.