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

pub trait ProposalRouter<S> where
    S: Snapshot
{ fn send(
        &self,
        cmd: RaftCommand<S>
    ) -> Result<(), TrySendError<RaftCommand<S>>>; }

Routes proposal to target region.

Required methods

fn send(&self, cmd: RaftCommand<S>) -> Result<(), TrySendError<RaftCommand<S>>>[src]

Loading content...

Implementations on Foreign Types

impl<S: Snapshot> ProposalRouter<S> for SyncSender<RaftCommand<S>>[src]

Loading content...

Implementors

impl<EK, ER> ProposalRouter<<EK as KvEngine>::Snapshot> for RaftRouter<EK, ER> where
    EK: KvEngine,
    ER: RaftEngine
[src]

impl<EK: KvEngine, ER: RaftEngine> ProposalRouter<<EK as KvEngine>::Snapshot> for ServerRaftStoreRouter<EK, ER>[src]

impl<S: Snapshot> ProposalRouter<S> for RaftStoreBlackHole[src]

Loading content...