pub trait Connectable: Display {
// Required method
fn connect<M>(
&self,
) -> Result<Box<dyn MavConnection<M> + Send + Sync>, Error>
where M: Message;
}
Required Methods§
fn connect<M>(&self) -> Result<Box<dyn MavConnection<M> + Send + Sync>, Error>where
M: Message,
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.