pub trait DisplayProvider: Send + Sync {
// Required methods
fn list_displays<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_brightness<'life0, 'life1, 'async_trait>(
&'life0 self,
display_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_brightness<'life0, 'life1, 'async_trait>(
&'life0 self,
display_id: &'life1 str,
brightness: u8,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn take_screenshot<'life0, 'life1, 'async_trait>(
&'life0 self,
display_id: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn take_screenshot_region<'life0, 'async_trait>(
&'life0 self,
x: i32,
y: i32,
width: u32,
height: u32,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Display control provider trait