Trait DataAsyncReducer

Source
pub trait DataAsyncReducer {
    type Channel;
    type Action;

    // Required method
    async fn async_reduce(
        _radio: &mut Radio<Self, Self::Channel>,
        _action: Self::Action,
    ) -> ChannelSelection<Self::Channel>
       where Self::Channel: RadioChannel<Self>,
             Self: Sized;
}

Required Associated Types§

Required Methods§

Source

async fn async_reduce( _radio: &mut Radio<Self, Self::Channel>, _action: Self::Action, ) -> ChannelSelection<Self::Channel>
where Self::Channel: RadioChannel<Self>, Self: Sized,

Implementors§