Skip to main content

connect_async_with_dialect

Function connect_async_with_dialect 

Source
pub async fn connect_async_with_dialect<D>(
    address: &str,
    dialect: D,
) -> Result<AsyncDialectConnection<D>, Error>
where D: Dialect + Send + Sync, <D as Dialect>::Message: Send + Sync,
Available on crate feature 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.