Struct kvproto::debugpb::DebugClient[][src]

pub struct DebugClient { /* fields omitted */ }

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]

pub fn get_async(
    &self,
    req: &GetRequest
) -> Result<ClientUnaryReceiver<GetResponse>>
[src]

pub fn raft_log_opt(
    &self,
    req: &RaftLogRequest,
    opt: CallOption
) -> Result<RaftLogResponse>
[src]

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]

pub fn raft_log_async(
    &self,
    req: &RaftLogRequest
) -> Result<ClientUnaryReceiver<RaftLogResponse>>
[src]

pub fn region_info_opt(
    &self,
    req: &RegionInfoRequest,
    opt: CallOption
) -> Result<RegionInfoResponse>
[src]

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]

pub fn region_info_async(
    &self,
    req: &RegionInfoRequest
) -> Result<ClientUnaryReceiver<RegionInfoResponse>>
[src]

pub fn region_size_opt(
    &self,
    req: &RegionSizeRequest,
    opt: CallOption
) -> Result<RegionSizeResponse>
[src]

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]

pub fn region_size_async(
    &self,
    req: &RegionSizeRequest
) -> Result<ClientUnaryReceiver<RegionSizeResponse>>
[src]

pub fn scan_mvcc_opt(
    &self,
    req: &ScanMvccRequest,
    opt: CallOption
) -> Result<ClientSStreamReceiver<ScanMvccResponse>>
[src]

pub fn scan_mvcc(
    &self,
    req: &ScanMvccRequest
) -> Result<ClientSStreamReceiver<ScanMvccResponse>>
[src]

pub fn compact_opt(
    &self,
    req: &CompactRequest,
    opt: CallOption
) -> Result<CompactResponse>
[src]

pub fn compact(&self, req: &CompactRequest) -> Result<CompactResponse>[src]

pub fn compact_async_opt(
    &self,
    req: &CompactRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<CompactResponse>>
[src]

pub fn compact_async(
    &self,
    req: &CompactRequest
) -> Result<ClientUnaryReceiver<CompactResponse>>
[src]

pub fn inject_fail_point_opt(
    &self,
    req: &InjectFailPointRequest,
    opt: CallOption
) -> Result<InjectFailPointResponse>
[src]

pub fn inject_fail_point(
    &self,
    req: &InjectFailPointRequest
) -> Result<InjectFailPointResponse>
[src]

pub fn inject_fail_point_async_opt(
    &self,
    req: &InjectFailPointRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<InjectFailPointResponse>>
[src]

pub fn inject_fail_point_async(
    &self,
    req: &InjectFailPointRequest
) -> Result<ClientUnaryReceiver<InjectFailPointResponse>>
[src]

pub fn recover_fail_point_opt(
    &self,
    req: &RecoverFailPointRequest,
    opt: CallOption
) -> Result<RecoverFailPointResponse>
[src]

pub fn recover_fail_point(
    &self,
    req: &RecoverFailPointRequest
) -> Result<RecoverFailPointResponse>
[src]

pub fn recover_fail_point_async_opt(
    &self,
    req: &RecoverFailPointRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<RecoverFailPointResponse>>
[src]

pub fn recover_fail_point_async(
    &self,
    req: &RecoverFailPointRequest
) -> Result<ClientUnaryReceiver<RecoverFailPointResponse>>
[src]

pub fn list_fail_points_opt(
    &self,
    req: &ListFailPointsRequest,
    opt: CallOption
) -> Result<ListFailPointsResponse>
[src]

pub fn list_fail_points(
    &self,
    req: &ListFailPointsRequest
) -> Result<ListFailPointsResponse>
[src]

pub fn list_fail_points_async_opt(
    &self,
    req: &ListFailPointsRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<ListFailPointsResponse>>
[src]

pub fn list_fail_points_async(
    &self,
    req: &ListFailPointsRequest
) -> Result<ClientUnaryReceiver<ListFailPointsResponse>>
[src]

pub fn get_metrics_opt(
    &self,
    req: &GetMetricsRequest,
    opt: CallOption
) -> Result<GetMetricsResponse>
[src]

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]

pub fn get_metrics_async(
    &self,
    req: &GetMetricsRequest
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
[src]

pub fn check_region_consistency_opt(
    &self,
    req: &RegionConsistencyCheckRequest,
    opt: CallOption
) -> Result<RegionConsistencyCheckResponse>
[src]

pub fn check_region_consistency(
    &self,
    req: &RegionConsistencyCheckRequest
) -> Result<RegionConsistencyCheckResponse>
[src]

pub fn check_region_consistency_async_opt(
    &self,
    req: &RegionConsistencyCheckRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<RegionConsistencyCheckResponse>>
[src]

pub fn check_region_consistency_async(
    &self,
    req: &RegionConsistencyCheckRequest
) -> Result<ClientUnaryReceiver<RegionConsistencyCheckResponse>>
[src]

pub fn modify_tikv_config_opt(
    &self,
    req: &ModifyTikvConfigRequest,
    opt: CallOption
) -> Result<ModifyTikvConfigResponse>
[src]

pub fn modify_tikv_config(
    &self,
    req: &ModifyTikvConfigRequest
) -> Result<ModifyTikvConfigResponse>
[src]

pub fn modify_tikv_config_async_opt(
    &self,
    req: &ModifyTikvConfigRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<ModifyTikvConfigResponse>>
[src]

pub fn modify_tikv_config_async(
    &self,
    req: &ModifyTikvConfigRequest
) -> Result<ClientUnaryReceiver<ModifyTikvConfigResponse>>
[src]

pub fn get_region_properties_opt(
    &self,
    req: &GetRegionPropertiesRequest,
    opt: CallOption
) -> Result<GetRegionPropertiesResponse>
[src]

pub fn get_region_properties(
    &self,
    req: &GetRegionPropertiesRequest
) -> Result<GetRegionPropertiesResponse>
[src]

pub fn get_region_properties_async_opt(
    &self,
    req: &GetRegionPropertiesRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionPropertiesResponse>>
[src]

pub fn get_region_properties_async(
    &self,
    req: &GetRegionPropertiesRequest
) -> Result<ClientUnaryReceiver<GetRegionPropertiesResponse>>
[src]

pub fn get_store_info_opt(
    &self,
    req: &GetStoreInfoRequest,
    opt: CallOption
) -> Result<GetStoreInfoResponse>
[src]

pub fn get_store_info(
    &self,
    req: &GetStoreInfoRequest
) -> Result<GetStoreInfoResponse>
[src]

pub fn get_store_info_async_opt(
    &self,
    req: &GetStoreInfoRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetStoreInfoResponse>>
[src]

pub fn get_store_info_async(
    &self,
    req: &GetStoreInfoRequest
) -> Result<ClientUnaryReceiver<GetStoreInfoResponse>>
[src]

pub fn get_cluster_info_opt(
    &self,
    req: &GetClusterInfoRequest,
    opt: CallOption
) -> Result<GetClusterInfoResponse>
[src]

pub fn get_cluster_info(
    &self,
    req: &GetClusterInfoRequest
) -> Result<GetClusterInfoResponse>
[src]

pub fn get_cluster_info_async_opt(
    &self,
    req: &GetClusterInfoRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetClusterInfoResponse>>
[src]

pub fn get_cluster_info_async(
    &self,
    req: &GetClusterInfoRequest
) -> Result<ClientUnaryReceiver<GetClusterInfoResponse>>
[src]

pub fn spawn<F>(&self, f: F) where
    F: Future<Output = ()> + Send + 'static, 
[src]

Trait Implementations

impl Clone for DebugClient[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.