DataReducer

Trait DataReducer 

pub trait DataReducer {
    type Channel;
    type Action;

    // Required method
    fn reduce(
        &mut self,
        action: Self::Action,
    ) -> ChannelSelection<Self::Channel>;
}
Available on crate feature radio only.

Required Associated Types§

type Channel

type Action

Required Methods§

fn reduce(&mut self, action: Self::Action) -> ChannelSelection<Self::Channel>

Implementors§