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, W>(
    writer: &mut W,
    version: MavlinkVersion,
    header: MavHeader,
    dialect: &D,
    message: &<D as Dialect>::Message,
) -> Result<usize, MessageWriteError>
where D: Dialect, W: AsyncWrite + Unpin,
Available on crate feature tokio only.
Expand description

Asynchronously write a message through an instance-backed dialect.