pub trait BatteryProxyInterface: Send + Sync {
type GetBatteryConfigResponseFut: Future<Output = Result<[u8; 304], Error>> + Send;
type GetBatteryProfileResponseFut: Future<Output = Result<BatteryGetBatteryProfileResult, Error>> + Send;
// Required methods
fn get_battery_config(&self) -> Self::GetBatteryConfigResponseFut;
fn get_battery_profile(
&self,
request: &[u8; 8],
) -> Self::GetBatteryProfileResponseFut;
}