fidl_fuchsia_hardware_power_sensor

Trait DeviceProxyInterface

Source
pub trait DeviceProxyInterface: Send + Sync {
    type GetPowerWattsResponseFut: Future<Output = Result<DeviceGetPowerWattsResult, Error>> + Send;
    type GetVoltageVoltsResponseFut: Future<Output = Result<DeviceGetVoltageVoltsResult, Error>> + Send;
    type GetSensorNameResponseFut: Future<Output = Result<String, Error>> + Send;

    // Required methods
    fn get_power_watts(&self) -> Self::GetPowerWattsResponseFut;
    fn get_voltage_volts(&self) -> Self::GetVoltageVoltsResponseFut;
    fn get_sensor_name(&self) -> Self::GetSensorNameResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§