mavlink_core

Function write_versioned_msg_async

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

Async write a message using the given mavlink version