Trait raftstore::store::transport::ProposalRouter [−][src]
Routes proposal to target region.
Required methods
fn send(&self, cmd: RaftCommand<S>) -> Result<(), TrySendError<RaftCommand<S>>>
[src]
Implementations on Foreign Types
impl<S: Snapshot> ProposalRouter<S> for SyncSender<RaftCommand<S>>
[src]
fn send(&self, cmd: RaftCommand<S>) -> Result<(), TrySendError<RaftCommand<S>>>
[src]
Implementors
impl<EK, ER> ProposalRouter<<EK as KvEngine>::Snapshot> for RaftRouter<EK, ER> where
EK: KvEngine,
ER: RaftEngine,
[src]
EK: KvEngine,
ER: RaftEngine,
fn send(
&self,
cmd: RaftCommand<EK::Snapshot>
) -> Result<(), TrySendError<RaftCommand<EK::Snapshot>>>
[src]
&self,
cmd: RaftCommand<EK::Snapshot>
) -> Result<(), TrySendError<RaftCommand<EK::Snapshot>>>
impl<EK: KvEngine, ER: RaftEngine> ProposalRouter<<EK as KvEngine>::Snapshot> for ServerRaftStoreRouter<EK, ER>
[src]
fn send(
&self,
cmd: RaftCommand<EK::Snapshot>
) -> Result<(), TrySendError<RaftCommand<EK::Snapshot>>>
[src]
&self,
cmd: RaftCommand<EK::Snapshot>
) -> Result<(), TrySendError<RaftCommand<EK::Snapshot>>>