pub trait AsyncConnectable {
// Required method
fn connect_async<'life0, 'async_trait, M>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn AsyncMavConnection<M> + Send + Sync>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
M: Message + Sync + Send + 'async_trait,
Self: 'async_trait;
}
Expand description
A MAVLink connection address that can be connected to, establishing an AsyncMavConnection
This is the async
version of Connectable
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.