Skip to main content

AndroidAutoBluetoothTrait

Trait AndroidAutoBluetoothTrait 

Source
pub trait AndroidAutoBluetoothTrait: AndroidAutoMainTrait {
    // Required methods
    fn do_stuff<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_config(&self) -> &BluetoothInformation;
}
Expand description

A trait that is implemented for users that somehow support bluetooth for their hardware

Required Methods§

Source

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

Do something

Source

fn get_config(&self) -> &BluetoothInformation

Get the configuration

Implementors§