pub trait ExecutorAsync: Executor {
// Required method
async fn execute<D, I, A>(
delay: &mut D,
bound_bus: &mut I2cBoundBusAsync<I, A>,
input: <Self::Command as Command>::In,
) -> Result<<Self::Command as Command>::Out, TransportError<Self::Error, I::Error>>
where D: DelayNs,
I: I2c<A> + ErrorType,
A: AddressMode + Copy + Debug;
}
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.