Trait raftstore::store::transport::StoreRouter[][src]

pub trait StoreRouter<EK>: Send where
    EK: KvEngine
{ fn send(&self, msg: StoreMsg<EK>) -> Result<()>; }

Routes message to store FSM.

Messages are not guaranteed to be delivered by this trait.

Required methods

fn send(&self, msg: StoreMsg<EK>) -> Result<()>[src]

Loading content...

Implementations on Foreign Types

impl<EK> StoreRouter<EK> for Sender<StoreMsg<EK>> where
    EK: KvEngine
[src]

Loading content...

Implementors

impl<EK> StoreRouter<EK> for RaftStoreBlackHole where
    EK: KvEngine
[src]

impl<EK, ER> StoreRouter<EK> for RaftRouter<EK, ER> where
    EK: KvEngine,
    ER: RaftEngine
[src]

impl<EK: KvEngine, ER: RaftEngine> StoreRouter<EK> for ServerRaftStoreRouter<EK, ER>[src]

Loading content...