pub trait DriverHostControllerProxyInterface: Send + Sync {
    type CreateDeviceResponseFut: Future<Output = Result<i32, Error>> + Send;
    type RestartResponseFut: Future<Output = Result<i32, Error>> + Send;

    // Required methods
    fn create_device(
        &self,
        coordinator: ClientEnd<CoordinatorMarker>,
        device_controller: ServerEnd<DeviceControllerMarker>,
        type_: DeviceType,
        local_device_id: u64
    ) -> Self::CreateDeviceResponseFut;
    fn restart(&self) -> Self::RestartResponseFut;
}

Required Associated Types§

Required Methods§

source

fn create_device( &self, coordinator: ClientEnd<CoordinatorMarker>, device_controller: ServerEnd<DeviceControllerMarker>, type_: DeviceType, local_device_id: u64 ) -> Self::CreateDeviceResponseFut

source

fn restart(&self) -> Self::RestartResponseFut

Implementors§