pub trait BacklightControl: Debug + Send + Sync {
    // Required methods
    fn get_brightness<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_brightness<'life0, 'async_trait>(
        &'life0 self,
        value: f64
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_max_absolute_brightness<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn get_brightness<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_brightness<'life0, 'async_trait>( &'life0 self, value: f64 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_max_absolute_brightness<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§