pub trait GpioEndpointProxyInterface: Send + Sync {
type ReadResponseFut: Future<Output = Result<GpioEndpointReadResult, Error>> + Send;
type WriteResponseFut: Future<Output = Result<GpioEndpointWriteResult, Error>> + Send;
// Required methods
fn read(&self) -> Self::ReadResponseFut;
fn write(&self, value: bool) -> Self::WriteResponseFut;
}Required Associated Types§
type ReadResponseFut: Future<Output = Result<GpioEndpointReadResult, Error>> + Send
type WriteResponseFut: Future<Output = Result<GpioEndpointWriteResult, Error>> + Send
Required Methods§
fn read(&self) -> Self::ReadResponseFut
fn write(&self, value: bool) -> Self::WriteResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".