Function write_versioned_msg_async

Source
pub async fn write_versioned_msg_async<M, W>(
    w: &mut W,
    version: MavlinkVersion,
    header: MavHeader,
    data: &M,
) -> Result<usize, MessageWriteError>
where M: Message, W: AsyncWrite + Unpin,
Expand description

Asynchronously write a MAVLink message using the given MAVLink version to a AsyncWriter.