pub trait IPsmServer: IObject {
fn get_battery_charge_percentage(&mut self) -> Result<u32>;
fn sf_server_impl_get_battery_charge_percentage(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}