pub trait HomeKitProvider: Send + Sync {
// Required methods
fn list_homes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_rooms<'life0, 'life1, 'async_trait>(
&'life0 self,
home_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn list_accessories<'life0, 'life1, 'async_trait>(
&'life0 self,
home_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_accessory<'life0, 'life1, 'async_trait>(
&'life0 self,
accessory_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_characteristic<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
accessory_id: &'life1 str,
service: &'life2 str,
characteristic: &'life3 str,
value: Value,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn list_scenes<'life0, 'life1, 'async_trait>(
&'life0 self,
home_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn run_scene<'life0, 'life1, 'async_trait>(
&'life0 self,
scene_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
HomeKit provider trait