p2p/network/identify/p2p_network_identify_effects.rs
1use super::p2p_network_identify_actions::P2pNetworkIdentifyEffectfulAction;
2use crate::P2pNetworkService;
3use redux::ActionMeta;
4
5impl P2pNetworkIdentifyEffectfulAction {
6 pub fn effects<Store, S>(self, meta: &ActionMeta, store: &mut Store)
7 where
8 Store: crate::P2pStore<S>,
9 Store::Service: P2pNetworkService,
10 {
11 match self {
12 P2pNetworkIdentifyEffectfulAction::Stream(action) => action.effects(meta, store),
13 }
14 }
15}