Struct tikv::server::raft_client::RaftCall [−][src]
Struct tracks the lifetime of a raft
or batch_raft
RPC.
Fields
sender: ClientCStreamSender<M>
receiver: ClientCStreamReceiver<Done>
queue: Arc<Queue>
buffer: B
router: R
snap_scheduler: Scheduler<SnapTask>
lifetime: Option<Sender<()>>
store_id: u64
addr: String
engine: PhantomData<E>
Implementations
impl<R, M, B, E> RaftCall<R, M, B, E> where
R: RaftStoreRouter<E> + 'static,
B: Buffer<OutputMessage = M>,
E: KvEngine,
[src][−]
R: RaftStoreRouter<E> + 'static,
B: Buffer<OutputMessage = M>,
E: KvEngine,
fn new_snapshot_reporter(&self, msg: &RaftMessage) -> SnapshotReporter<R, E>
[src]
fn send_snapshot_sock(&self, msg: RaftMessage)
[src]
fn fill_msg(&mut self, ctx: &Context<'_>)
[src]
fn clean_up(&mut self, sink_err: &Option<Error>, recv_err: &Option<Error>)
[src]
Trait Implementations
impl<R, M, B, E> Future for RaftCall<R, M, B, E> where
R: RaftStoreRouter<E> + Unpin + 'static,
B: Buffer<OutputMessage = M> + Unpin,
E: KvEngine,
[src][+]
R: RaftStoreRouter<E> + Unpin + 'static,
B: Buffer<OutputMessage = M> + Unpin,
E: KvEngine,
Auto Trait Implementations
impl<R, M, B, E> !RefUnwindSafe for RaftCall<R, M, B, E>
impl<R, M, B, E> Send for RaftCall<R, M, B, E> where
B: Send,
E: Send,
R: Send,
B: Send,
E: Send,
R: Send,
impl<R, M, B, E> Sync for RaftCall<R, M, B, E> where
B: Sync,
E: Sync,
R: Sync,
B: Sync,
E: Sync,
R: Sync,
impl<R, M, B, E> Unpin for RaftCall<R, M, B, E> where
B: Unpin,
E: Unpin,
R: Unpin,
B: Unpin,
E: Unpin,
R: Unpin,
impl<R, M, B, E> !UnwindSafe for RaftCall<R, M, B, E>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>,
[src][+]
W: ConvertTo<V>,
impl<T> From<T> for T
[src][+]
impl<T> FutureExt for T where
T: Future + ?Sized,
[src][+]
T: Future + ?Sized,
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src][+]
F: Future,
impl<T> Pointable for T
[src][+]
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,
impl<F> WithExtras<TaskCell> for F where
F: Future<Output = ()> + Send + 'static,
[src][+]
F: Future<Output = ()> + Send + 'static,