pub async fn write_v1_msg_async<M: Message, W: AsyncWrite + Unpin>(
w: &mut W,
header: MavHeader,
data: &M,
) -> Result<usize, MessageWriteError>
Available on crate feature
tokio-1
only.Expand description
Asynchronously write a MAVLink 1 message to a [AsyncWrite
]r.
ยงErrors
Returns the first error that occurs when writing to the [AsyncWrite
]r.