pub trait DeviceProxyInterface: Send + Sync {
type QueryResponseFut: Future<Output = Result<DeviceQueryResult, Error>> + Send;
// Required methods
fn query(&self, query_id: QueryId) -> Self::QueryResponseFut;
fn connect2(
&self,
client_id: u64,
primary_channel: ServerEnd<PrimaryMarker>,
notification_channel: ServerEnd<NotificationMarker>,
) -> Result<(), Error>;
}