pub trait Connectable: Display {
// Required method
fn connect_with_dialect<D>(
&self,
dialect: D,
) -> Result<DialectConnection<D>, Error>
where D: Dialect + Send + Sync;
// Provided method
fn connect<M>(&self) -> Result<DialectConnection<StaticDialect<M>>, Error>
where M: Message { ... }
}Available on crate feature
std only.Expand description
A MAVLink connection address that can be connected to, establishing a MavConnection
Required Methods§
Sourcefn connect_with_dialect<D>(
&self,
dialect: D,
) -> Result<DialectConnection<D>, Error>
fn connect_with_dialect<D>( &self, dialect: D, ) -> Result<DialectConnection<D>, Error>
Attempt to establish a blocking MAVLink connection with a runtime-loaded dialect.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".