Skip to main content

write_versioned_msg_async_with_dialect

Function write_versioned_msg_async_with_dialect 

Source
pub async fn write_versioned_msg_async_with_dialect<D: Dialect, W: AsyncWrite + Unpin>(
    writer: &mut W,
    version: MavlinkVersion,
    header: MavHeader,
    dialect: &D,
    message: &D::Message,
) -> Result<usize, MessageWriteError>
Available on crate feature tokio only.
Expand description

Asynchronously write a message through an instance-backed dialect.