Function mavlink::write_v1_msg_async

source ยท
pub async fn write_v1_msg_async<M, W>(
    w: &mut W,
    header: MavHeader,
    data: &M,
) -> Result<usize, MessageWriteError>
where M: Message, W: AsyncWriteExt + Unpin,
Available on crate feature tokio-1 only.
Expand description

Async write a MAVLink v1 message to a Write stream.