pub trait ControllerCmdSync<C: SyncCmd + ?Sized>: Controller {
// Required method
fn exec(
&self,
cmd: &C,
) -> impl Future<Output = Result<C::Return, Error<Self::Error>>>;
}
Expand description
Marker trait for declaring that a controller supports a given HCI command.
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.