Struct tikv::server::service::DebugService [−][src]
Service handles the RPC messages for the Debug
service.
Fields
pool: Handle
debugger: Debugger<ER>
raft_router: T
Implementations
impl<ER: RaftEngine, T: RaftStoreRouter<RocksEngine>> Service<ER, T>
[src]
pub fn new(
engines: Engines<RocksEngine, ER>,
pool: Handle,
raft_router: T,
cfg_controller: ConfigController
) -> Service<ER, T>
[src]
engines: Engines<RocksEngine, ER>,
pool: Handle,
raft_router: T,
cfg_controller: ConfigController
) -> Service<ER, T>
Constructs a new Service
with Engines
, a RaftStoreRouter
and a GcWorker
.
fn handle_response<F, P>(
&self,
ctx: RpcContext<'_>,
sink: UnarySink<P>,
resp: F,
tag: &'static str
) where
P: Send + 'static,
F: Future<Output = Result<P>> + Send + 'static,
[src]
&self,
ctx: RpcContext<'_>,
sink: UnarySink<P>,
resp: F,
tag: &'static str
) where
P: Send + 'static,
F: Future<Output = Result<P>> + Send + 'static,
Trait Implementations
impl<ER: Clone + RaftEngine, T: Clone + RaftStoreRouter<RocksEngine>> Clone for Service<ER, T>
[src]
impl<ER: RaftEngine, T: RaftStoreRouter<RocksEngine> + 'static> Debug for Service<ER, T>
[src]
fn get(
&mut self,
ctx: RpcContext<'_>,
req: GetRequest,
sink: UnarySink<GetResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: GetRequest,
sink: UnarySink<GetResponse>
)
fn raft_log(
&mut self,
ctx: RpcContext<'_>,
req: RaftLogRequest,
sink: UnarySink<RaftLogResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RaftLogRequest,
sink: UnarySink<RaftLogResponse>
)
fn region_info(
&mut self,
ctx: RpcContext<'_>,
req: RegionInfoRequest,
sink: UnarySink<RegionInfoResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RegionInfoRequest,
sink: UnarySink<RegionInfoResponse>
)
fn region_size(
&mut self,
ctx: RpcContext<'_>,
req: RegionSizeRequest,
sink: UnarySink<RegionSizeResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RegionSizeRequest,
sink: UnarySink<RegionSizeResponse>
)
fn scan_mvcc(
&mut self,
_: RpcContext<'_>,
req: ScanMvccRequest,
sink: ServerStreamingSink<ScanMvccResponse>
)
[src]
&mut self,
_: RpcContext<'_>,
req: ScanMvccRequest,
sink: ServerStreamingSink<ScanMvccResponse>
)
fn compact(
&mut self,
ctx: RpcContext<'_>,
req: CompactRequest,
sink: UnarySink<CompactResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CompactRequest,
sink: UnarySink<CompactResponse>
)
fn inject_fail_point(
&mut self,
ctx: RpcContext<'_>,
req: InjectFailPointRequest,
sink: UnarySink<InjectFailPointResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: InjectFailPointRequest,
sink: UnarySink<InjectFailPointResponse>
)
fn recover_fail_point(
&mut self,
ctx: RpcContext<'_>,
req: RecoverFailPointRequest,
sink: UnarySink<RecoverFailPointResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RecoverFailPointRequest,
sink: UnarySink<RecoverFailPointResponse>
)
fn list_fail_points(
&mut self,
ctx: RpcContext<'_>,
_: ListFailPointsRequest,
sink: UnarySink<ListFailPointsResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
_: ListFailPointsRequest,
sink: UnarySink<ListFailPointsResponse>
)
fn get_metrics(
&mut self,
ctx: RpcContext<'_>,
req: GetMetricsRequest,
sink: UnarySink<GetMetricsResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: GetMetricsRequest,
sink: UnarySink<GetMetricsResponse>
)
fn check_region_consistency(
&mut self,
ctx: RpcContext<'_>,
req: RegionConsistencyCheckRequest,
sink: UnarySink<RegionConsistencyCheckResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RegionConsistencyCheckRequest,
sink: UnarySink<RegionConsistencyCheckResponse>
)
fn modify_tikv_config(
&mut self,
ctx: RpcContext<'_>,
req: ModifyTikvConfigRequest,
sink: UnarySink<ModifyTikvConfigResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: ModifyTikvConfigRequest,
sink: UnarySink<ModifyTikvConfigResponse>
)
fn get_region_properties(
&mut self,
ctx: RpcContext<'_>,
req: GetRegionPropertiesRequest,
sink: UnarySink<GetRegionPropertiesResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: GetRegionPropertiesRequest,
sink: UnarySink<GetRegionPropertiesResponse>
)
fn get_store_info(
&mut self,
ctx: RpcContext<'_>,
_: GetStoreInfoRequest,
sink: UnarySink<GetStoreInfoResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
_: GetStoreInfoRequest,
sink: UnarySink<GetStoreInfoResponse>
)
fn get_cluster_info(
&mut self,
ctx: RpcContext<'_>,
_: GetClusterInfoRequest,
sink: UnarySink<GetClusterInfoResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
_: GetClusterInfoRequest,
sink: UnarySink<GetClusterInfoResponse>
)
Auto Trait Implementations
impl<ER, T> !RefUnwindSafe for Service<ER, T>
impl<ER, T> Send for Service<ER, T>
impl<ER, T> Sync for Service<ER, T> where
T: Sync,
T: Sync,
impl<ER, T> Unpin for Service<ER, T> where
ER: Unpin,
T: Unpin,
ER: Unpin,
T: Unpin,
impl<ER, T> !UnwindSafe for Service<ER, T>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>,
[src]
W: ConvertTo<V>,
pub fn convert_from(ctx: &mut EvalContext, from: W) -> Result<V, Error>
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,