pub async fn write_versioned_msg_async_signed<M: Message, W: AsyncWrite + Unpin>(
w: &mut W,
version: MavlinkVersion,
header: MavHeader,
data: &M,
signing_data: Option<&SigningData>,
) -> Result<usize, MessageWriteError>Available on crate features
tokio-1 and signing only.Expand description
Asynchronously write a MAVLink message using the given MAVLink version to a [AsyncWrite]r with signing support.
When using MavlinkVersion::V1 signing is ignored.