Struct kvproto::debugpb::DebugClient [−][src]
Implementations
impl DebugClient
[src]
pub fn new(channel: Channel) -> Self
[src]
pub fn get_opt(&self, req: &GetRequest, opt: CallOption) -> Result<GetResponse>
[src]
pub fn get(&self, req: &GetRequest) -> Result<GetResponse>
[src]
pub fn get_async_opt(
&self,
req: &GetRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetResponse>>
[src]
&self,
req: &GetRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetResponse>>
pub fn get_async(
&self,
req: &GetRequest
) -> Result<ClientUnaryReceiver<GetResponse>>
[src]
&self,
req: &GetRequest
) -> Result<ClientUnaryReceiver<GetResponse>>
pub fn raft_log_opt(
&self,
req: &RaftLogRequest,
opt: CallOption
) -> Result<RaftLogResponse>
[src]
&self,
req: &RaftLogRequest,
opt: CallOption
) -> Result<RaftLogResponse>
pub fn raft_log(&self, req: &RaftLogRequest) -> Result<RaftLogResponse>
[src]
pub fn raft_log_async_opt(
&self,
req: &RaftLogRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RaftLogResponse>>
[src]
&self,
req: &RaftLogRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RaftLogResponse>>
pub fn raft_log_async(
&self,
req: &RaftLogRequest
) -> Result<ClientUnaryReceiver<RaftLogResponse>>
[src]
&self,
req: &RaftLogRequest
) -> Result<ClientUnaryReceiver<RaftLogResponse>>
pub fn region_info_opt(
&self,
req: &RegionInfoRequest,
opt: CallOption
) -> Result<RegionInfoResponse>
[src]
&self,
req: &RegionInfoRequest,
opt: CallOption
) -> Result<RegionInfoResponse>
pub fn region_info(&self, req: &RegionInfoRequest) -> Result<RegionInfoResponse>
[src]
pub fn region_info_async_opt(
&self,
req: &RegionInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegionInfoResponse>>
[src]
&self,
req: &RegionInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegionInfoResponse>>
pub fn region_info_async(
&self,
req: &RegionInfoRequest
) -> Result<ClientUnaryReceiver<RegionInfoResponse>>
[src]
&self,
req: &RegionInfoRequest
) -> Result<ClientUnaryReceiver<RegionInfoResponse>>
pub fn region_size_opt(
&self,
req: &RegionSizeRequest,
opt: CallOption
) -> Result<RegionSizeResponse>
[src]
&self,
req: &RegionSizeRequest,
opt: CallOption
) -> Result<RegionSizeResponse>
pub fn region_size(&self, req: &RegionSizeRequest) -> Result<RegionSizeResponse>
[src]
pub fn region_size_async_opt(
&self,
req: &RegionSizeRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegionSizeResponse>>
[src]
&self,
req: &RegionSizeRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegionSizeResponse>>
pub fn region_size_async(
&self,
req: &RegionSizeRequest
) -> Result<ClientUnaryReceiver<RegionSizeResponse>>
[src]
&self,
req: &RegionSizeRequest
) -> Result<ClientUnaryReceiver<RegionSizeResponse>>
pub fn scan_mvcc_opt(
&self,
req: &ScanMvccRequest,
opt: CallOption
) -> Result<ClientSStreamReceiver<ScanMvccResponse>>
[src]
&self,
req: &ScanMvccRequest,
opt: CallOption
) -> Result<ClientSStreamReceiver<ScanMvccResponse>>
pub fn scan_mvcc(
&self,
req: &ScanMvccRequest
) -> Result<ClientSStreamReceiver<ScanMvccResponse>>
[src]
&self,
req: &ScanMvccRequest
) -> Result<ClientSStreamReceiver<ScanMvccResponse>>
pub fn compact_opt(
&self,
req: &CompactRequest,
opt: CallOption
) -> Result<CompactResponse>
[src]
&self,
req: &CompactRequest,
opt: CallOption
) -> Result<CompactResponse>
pub fn compact(&self, req: &CompactRequest) -> Result<CompactResponse>
[src]
pub fn compact_async_opt(
&self,
req: &CompactRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CompactResponse>>
[src]
&self,
req: &CompactRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CompactResponse>>
pub fn compact_async(
&self,
req: &CompactRequest
) -> Result<ClientUnaryReceiver<CompactResponse>>
[src]
&self,
req: &CompactRequest
) -> Result<ClientUnaryReceiver<CompactResponse>>
pub fn inject_fail_point_opt(
&self,
req: &InjectFailPointRequest,
opt: CallOption
) -> Result<InjectFailPointResponse>
[src]
&self,
req: &InjectFailPointRequest,
opt: CallOption
) -> Result<InjectFailPointResponse>
pub fn inject_fail_point(
&self,
req: &InjectFailPointRequest
) -> Result<InjectFailPointResponse>
[src]
&self,
req: &InjectFailPointRequest
) -> Result<InjectFailPointResponse>
pub fn inject_fail_point_async_opt(
&self,
req: &InjectFailPointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<InjectFailPointResponse>>
[src]
&self,
req: &InjectFailPointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<InjectFailPointResponse>>
pub fn inject_fail_point_async(
&self,
req: &InjectFailPointRequest
) -> Result<ClientUnaryReceiver<InjectFailPointResponse>>
[src]
&self,
req: &InjectFailPointRequest
) -> Result<ClientUnaryReceiver<InjectFailPointResponse>>
pub fn recover_fail_point_opt(
&self,
req: &RecoverFailPointRequest,
opt: CallOption
) -> Result<RecoverFailPointResponse>
[src]
&self,
req: &RecoverFailPointRequest,
opt: CallOption
) -> Result<RecoverFailPointResponse>
pub fn recover_fail_point(
&self,
req: &RecoverFailPointRequest
) -> Result<RecoverFailPointResponse>
[src]
&self,
req: &RecoverFailPointRequest
) -> Result<RecoverFailPointResponse>
pub fn recover_fail_point_async_opt(
&self,
req: &RecoverFailPointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RecoverFailPointResponse>>
[src]
&self,
req: &RecoverFailPointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RecoverFailPointResponse>>
pub fn recover_fail_point_async(
&self,
req: &RecoverFailPointRequest
) -> Result<ClientUnaryReceiver<RecoverFailPointResponse>>
[src]
&self,
req: &RecoverFailPointRequest
) -> Result<ClientUnaryReceiver<RecoverFailPointResponse>>
pub fn list_fail_points_opt(
&self,
req: &ListFailPointsRequest,
opt: CallOption
) -> Result<ListFailPointsResponse>
[src]
&self,
req: &ListFailPointsRequest,
opt: CallOption
) -> Result<ListFailPointsResponse>
pub fn list_fail_points(
&self,
req: &ListFailPointsRequest
) -> Result<ListFailPointsResponse>
[src]
&self,
req: &ListFailPointsRequest
) -> Result<ListFailPointsResponse>
pub fn list_fail_points_async_opt(
&self,
req: &ListFailPointsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ListFailPointsResponse>>
[src]
&self,
req: &ListFailPointsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ListFailPointsResponse>>
pub fn list_fail_points_async(
&self,
req: &ListFailPointsRequest
) -> Result<ClientUnaryReceiver<ListFailPointsResponse>>
[src]
&self,
req: &ListFailPointsRequest
) -> Result<ClientUnaryReceiver<ListFailPointsResponse>>
pub fn get_metrics_opt(
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<GetMetricsResponse>
[src]
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<GetMetricsResponse>
pub fn get_metrics(&self, req: &GetMetricsRequest) -> Result<GetMetricsResponse>
[src]
pub fn get_metrics_async_opt(
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
[src]
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
pub fn get_metrics_async(
&self,
req: &GetMetricsRequest
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
[src]
&self,
req: &GetMetricsRequest
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
pub fn check_region_consistency_opt(
&self,
req: &RegionConsistencyCheckRequest,
opt: CallOption
) -> Result<RegionConsistencyCheckResponse>
[src]
&self,
req: &RegionConsistencyCheckRequest,
opt: CallOption
) -> Result<RegionConsistencyCheckResponse>
pub fn check_region_consistency(
&self,
req: &RegionConsistencyCheckRequest
) -> Result<RegionConsistencyCheckResponse>
[src]
&self,
req: &RegionConsistencyCheckRequest
) -> Result<RegionConsistencyCheckResponse>
pub fn check_region_consistency_async_opt(
&self,
req: &RegionConsistencyCheckRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegionConsistencyCheckResponse>>
[src]
&self,
req: &RegionConsistencyCheckRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegionConsistencyCheckResponse>>
pub fn check_region_consistency_async(
&self,
req: &RegionConsistencyCheckRequest
) -> Result<ClientUnaryReceiver<RegionConsistencyCheckResponse>>
[src]
&self,
req: &RegionConsistencyCheckRequest
) -> Result<ClientUnaryReceiver<RegionConsistencyCheckResponse>>
pub fn modify_tikv_config_opt(
&self,
req: &ModifyTikvConfigRequest,
opt: CallOption
) -> Result<ModifyTikvConfigResponse>
[src]
&self,
req: &ModifyTikvConfigRequest,
opt: CallOption
) -> Result<ModifyTikvConfigResponse>
pub fn modify_tikv_config(
&self,
req: &ModifyTikvConfigRequest
) -> Result<ModifyTikvConfigResponse>
[src]
&self,
req: &ModifyTikvConfigRequest
) -> Result<ModifyTikvConfigResponse>
pub fn modify_tikv_config_async_opt(
&self,
req: &ModifyTikvConfigRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ModifyTikvConfigResponse>>
[src]
&self,
req: &ModifyTikvConfigRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ModifyTikvConfigResponse>>
pub fn modify_tikv_config_async(
&self,
req: &ModifyTikvConfigRequest
) -> Result<ClientUnaryReceiver<ModifyTikvConfigResponse>>
[src]
&self,
req: &ModifyTikvConfigRequest
) -> Result<ClientUnaryReceiver<ModifyTikvConfigResponse>>
pub fn get_region_properties_opt(
&self,
req: &GetRegionPropertiesRequest,
opt: CallOption
) -> Result<GetRegionPropertiesResponse>
[src]
&self,
req: &GetRegionPropertiesRequest,
opt: CallOption
) -> Result<GetRegionPropertiesResponse>
pub fn get_region_properties(
&self,
req: &GetRegionPropertiesRequest
) -> Result<GetRegionPropertiesResponse>
[src]
&self,
req: &GetRegionPropertiesRequest
) -> Result<GetRegionPropertiesResponse>
pub fn get_region_properties_async_opt(
&self,
req: &GetRegionPropertiesRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionPropertiesResponse>>
[src]
&self,
req: &GetRegionPropertiesRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionPropertiesResponse>>
pub fn get_region_properties_async(
&self,
req: &GetRegionPropertiesRequest
) -> Result<ClientUnaryReceiver<GetRegionPropertiesResponse>>
[src]
&self,
req: &GetRegionPropertiesRequest
) -> Result<ClientUnaryReceiver<GetRegionPropertiesResponse>>
pub fn get_store_info_opt(
&self,
req: &GetStoreInfoRequest,
opt: CallOption
) -> Result<GetStoreInfoResponse>
[src]
&self,
req: &GetStoreInfoRequest,
opt: CallOption
) -> Result<GetStoreInfoResponse>
pub fn get_store_info(
&self,
req: &GetStoreInfoRequest
) -> Result<GetStoreInfoResponse>
[src]
&self,
req: &GetStoreInfoRequest
) -> Result<GetStoreInfoResponse>
pub fn get_store_info_async_opt(
&self,
req: &GetStoreInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetStoreInfoResponse>>
[src]
&self,
req: &GetStoreInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetStoreInfoResponse>>
pub fn get_store_info_async(
&self,
req: &GetStoreInfoRequest
) -> Result<ClientUnaryReceiver<GetStoreInfoResponse>>
[src]
&self,
req: &GetStoreInfoRequest
) -> Result<ClientUnaryReceiver<GetStoreInfoResponse>>
pub fn get_cluster_info_opt(
&self,
req: &GetClusterInfoRequest,
opt: CallOption
) -> Result<GetClusterInfoResponse>
[src]
&self,
req: &GetClusterInfoRequest,
opt: CallOption
) -> Result<GetClusterInfoResponse>
pub fn get_cluster_info(
&self,
req: &GetClusterInfoRequest
) -> Result<GetClusterInfoResponse>
[src]
&self,
req: &GetClusterInfoRequest
) -> Result<GetClusterInfoResponse>
pub fn get_cluster_info_async_opt(
&self,
req: &GetClusterInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetClusterInfoResponse>>
[src]
&self,
req: &GetClusterInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetClusterInfoResponse>>
pub fn get_cluster_info_async(
&self,
req: &GetClusterInfoRequest
) -> Result<ClientUnaryReceiver<GetClusterInfoResponse>>
[src]
&self,
req: &GetClusterInfoRequest
) -> Result<ClientUnaryReceiver<GetClusterInfoResponse>>
pub fn spawn<F>(&self, f: F) where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,
Trait Implementations
impl Clone for DebugClient
[src]
fn clone(&self) -> DebugClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for DebugClient
impl Send for DebugClient
impl Sync for DebugClient
impl Unpin for DebugClient
impl !UnwindSafe for DebugClient
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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,