pub trait Color {
    fn set<'e, 'life0, 'async_trait, P>(
        device: &'life0 Self,
        protocol: &'e P,
        option: &'e ColorOption
    ) -> Pin<Box<dyn Future<Output = Result<(), BluetoothError>> + Send + 'async_trait>>
    where
        'e: 'async_trait,
        P: 'async_trait + Protocol + Send + Sync,
        'life0: 'async_trait,
        Self: 'async_trait
; fn color<'e, 'life0, 'async_trait, P>(
        &'life0 self,
        protocol: &'e P,
        r: u8,
        g: u8,
        b: u8
    ) -> Pin<Box<dyn Future<Output = Result<(), BluetoothError>> + Send + 'async_trait>>
    where
        'e: 'async_trait,
        P: 'async_trait + Protocol + Send + Sync,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Implementors