Function write_versioned_msg_async

Source
pub async fn write_versioned_msg_async<M: Message, W: AsyncWrite + Unpin>(
    w: &mut W,
    version: MavlinkVersion,
    header: MavHeader,
    data: &M,
) -> Result<usize, MessageWriteError>
Available on crate feature tokio-1 only.
Expand description

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