Skip to main content

connect_async_with_dialect

Function connect_async_with_dialect 

Source
pub async fn connect_async_with_dialect<D: Dialect + Send + Sync>(
    address: &str,
    dialect: D,
) -> Result<AsyncDialectConnection<D>>
where D::Message: Send + Sync,
Available on crate feature tokio and (crate features std or tokio) only.
Expand description

Connect asynchronously to a MAVLink node using a runtime-loaded dialect.

The accepted address formats and errors are the same as connect_async.