pub trait DeviceProxyInterface: Send + Sync {
type GetResponseFut: Future<Output = Result<DeviceGetResult, Error>> + Send;
type Set2ResponseFut: Future<Output = Result<DeviceSet2Result, Error>> + Send;
// Required methods
fn get(&self) -> Self::GetResponseFut;
fn set2(&self, rtc: &Time) -> Self::Set2ResponseFut;
}Required Associated Types§
type GetResponseFut: Future<Output = Result<DeviceGetResult, Error>> + Send
type Set2ResponseFut: Future<Output = Result<DeviceSet2Result, Error>> + Send
Required Methods§
fn get(&self) -> Self::GetResponseFut
fn set2(&self, rtc: &Time) -> Self::Set2ResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".