pub trait SpiEndpointProxyInterface: Send + Sync {
type TransmitResponseFut: Future<Output = Result<SpiEndpointTransmitResult, Error>> + Send;
// Required method
fn transmit(&self, tx_data: &[u8]) -> Self::TransmitResponseFut;
}Required Associated Types§
type TransmitResponseFut: Future<Output = Result<SpiEndpointTransmitResult, Error>> + Send
Required Methods§
fn transmit(&self, tx_data: &[u8]) -> Self::TransmitResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".