pub trait RuntimeMethods: Send {
    // Required methods
    fn get_led_count(&self) -> usize;
    fn abort<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_color<'life0, 'async_trait>(
        &'life0 self,
        color: Color
    ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeMethodError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_led_colors<'life0, 'async_trait>(
        &'life0 self,
        colors: Vec<Color>
    ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeMethodError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_image<'life0, 'async_trait>(
        &'life0 self,
        image: RawImage
    ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeMethodError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn get_led_count(&self) -> usize

source

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

source

fn set_color<'life0, 'async_trait>( &'life0 self, color: Color ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeMethodError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_led_colors<'life0, 'async_trait>( &'life0 self, colors: Vec<Color> ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeMethodError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_image<'life0, 'async_trait>( &'life0 self, image: RawImage ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeMethodError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§