pub fn read_v2_msg<M: Message, R: Read>(
read: &mut PeekReader<R>,
) -> Result<(MavHeader, M), MessageReadError>
Expand description
Read a MAVLink v2 message from a Read stream.
pub fn read_v2_msg<M: Message, R: Read>(
read: &mut PeekReader<R>,
) -> Result<(MavHeader, M), MessageReadError>
Read a MAVLink v2 message from a Read stream.