pub trait DeviceProxyInterface: Send + Sync {
type GetEssentialParamsResponseFut: Future<Output = Result<DeviceGetEssentialParamsResult, Error>> + Send;
type SetEssentialParamsResponseFut: Future<Output = Result<DeviceSetEssentialParamsResult, Error>> + Send;
type GetConfigResponseFut: Future<Output = Result<[u8; 104], Error>> + Send;
type GetDataProviderResponseFut: Future<Output = Result<ClientEnd<DataProviderMarker>, Error>> + Send;
type SetProcessedFifoDataResponseFut: Future<Output = Result<(), Error>> + Send;
type GetStepAndJeitaParamsResponseFut: Future<Output = Result<[u8; 247], Error>> + Send;
// Required methods
fn get_essential_params(&self) -> Self::GetEssentialParamsResponseFut;
fn set_essential_params(
&self,
params: &[u8; 48],
) -> Self::SetEssentialParamsResponseFut;
fn get_config(&self) -> Self::GetConfigResponseFut;
fn get_data_provider(&self) -> Self::GetDataProviderResponseFut;
fn set_processed_fifo_data(
&self,
data: &[u8; 152],
) -> Self::SetProcessedFifoDataResponseFut;
fn get_step_and_jeita_params(
&self,
) -> Self::GetStepAndJeitaParamsResponseFut;
}Required Associated Types§
type GetEssentialParamsResponseFut: Future<Output = Result<DeviceGetEssentialParamsResult, Error>> + Send
type SetEssentialParamsResponseFut: Future<Output = Result<DeviceSetEssentialParamsResult, Error>> + Send
type GetConfigResponseFut: Future<Output = Result<[u8; 104], Error>> + Send
type GetDataProviderResponseFut: Future<Output = Result<ClientEnd<DataProviderMarker>, Error>> + Send
type SetProcessedFifoDataResponseFut: Future<Output = Result<(), Error>> + Send
type GetStepAndJeitaParamsResponseFut: Future<Output = Result<[u8; 247], Error>> + Send
Required Methods§
fn get_essential_params(&self) -> Self::GetEssentialParamsResponseFut
fn set_essential_params( &self, params: &[u8; 48], ) -> Self::SetEssentialParamsResponseFut
fn get_config(&self) -> Self::GetConfigResponseFut
fn get_data_provider(&self) -> Self::GetDataProviderResponseFut
fn set_processed_fifo_data( &self, data: &[u8; 152], ) -> Self::SetProcessedFifoDataResponseFut
fn get_step_and_jeita_params(&self) -> Self::GetStepAndJeitaParamsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".