pub trait ExecutorAsync: Executor {
// Required method
async fn execute<D, I>(
delay: &mut D,
interface: &mut I,
input: <Self::Command as Command>::In,
) -> Result<<Self::Command as Command>::Out, TransportError<Self::Error, I::Error>>
where D: DelayNs,
I: SpiDevice;
}
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.