Struct kvproto::pdpb_grpc::PdClient [−][src]
Implementations
impl PdClient
[src]
pub fn new(channel: Channel) -> Self
[src]
pub fn get_members_opt(
&self,
req: &GetMembersRequest,
opt: CallOption
) -> Result<GetMembersResponse>
[src]
&self,
req: &GetMembersRequest,
opt: CallOption
) -> Result<GetMembersResponse>
pub fn get_members(&self, req: &GetMembersRequest) -> Result<GetMembersResponse>
[src]
pub fn get_members_async_opt(
&self,
req: &GetMembersRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetMembersResponse>>
[src]
&self,
req: &GetMembersRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetMembersResponse>>
pub fn get_members_async(
&self,
req: &GetMembersRequest
) -> Result<ClientUnaryReceiver<GetMembersResponse>>
[src]
&self,
req: &GetMembersRequest
) -> Result<ClientUnaryReceiver<GetMembersResponse>>
pub fn tso_opt(
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<TsoRequest>, ClientDuplexReceiver<TsoResponse>)>
[src]
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<TsoRequest>, ClientDuplexReceiver<TsoResponse>)>
pub fn tso(
&self
) -> Result<(ClientDuplexSender<TsoRequest>, ClientDuplexReceiver<TsoResponse>)>
[src]
&self
) -> Result<(ClientDuplexSender<TsoRequest>, ClientDuplexReceiver<TsoResponse>)>
pub fn bootstrap_opt(
&self,
req: &BootstrapRequest,
opt: CallOption
) -> Result<BootstrapResponse>
[src]
&self,
req: &BootstrapRequest,
opt: CallOption
) -> Result<BootstrapResponse>
pub fn bootstrap(&self, req: &BootstrapRequest) -> Result<BootstrapResponse>
[src]
pub fn bootstrap_async_opt(
&self,
req: &BootstrapRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<BootstrapResponse>>
[src]
&self,
req: &BootstrapRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<BootstrapResponse>>
pub fn bootstrap_async(
&self,
req: &BootstrapRequest
) -> Result<ClientUnaryReceiver<BootstrapResponse>>
[src]
&self,
req: &BootstrapRequest
) -> Result<ClientUnaryReceiver<BootstrapResponse>>
pub fn is_bootstrapped_opt(
&self,
req: &IsBootstrappedRequest,
opt: CallOption
) -> Result<IsBootstrappedResponse>
[src]
&self,
req: &IsBootstrappedRequest,
opt: CallOption
) -> Result<IsBootstrappedResponse>
pub fn is_bootstrapped(
&self,
req: &IsBootstrappedRequest
) -> Result<IsBootstrappedResponse>
[src]
&self,
req: &IsBootstrappedRequest
) -> Result<IsBootstrappedResponse>
pub fn is_bootstrapped_async_opt(
&self,
req: &IsBootstrappedRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<IsBootstrappedResponse>>
[src]
&self,
req: &IsBootstrappedRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<IsBootstrappedResponse>>
pub fn is_bootstrapped_async(
&self,
req: &IsBootstrappedRequest
) -> Result<ClientUnaryReceiver<IsBootstrappedResponse>>
[src]
&self,
req: &IsBootstrappedRequest
) -> Result<ClientUnaryReceiver<IsBootstrappedResponse>>
pub fn alloc_id_opt(
&self,
req: &AllocIdRequest,
opt: CallOption
) -> Result<AllocIdResponse>
[src]
&self,
req: &AllocIdRequest,
opt: CallOption
) -> Result<AllocIdResponse>
pub fn alloc_id(&self, req: &AllocIdRequest) -> Result<AllocIdResponse>
[src]
pub fn alloc_id_async_opt(
&self,
req: &AllocIdRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AllocIdResponse>>
[src]
&self,
req: &AllocIdRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AllocIdResponse>>
pub fn alloc_id_async(
&self,
req: &AllocIdRequest
) -> Result<ClientUnaryReceiver<AllocIdResponse>>
[src]
&self,
req: &AllocIdRequest
) -> Result<ClientUnaryReceiver<AllocIdResponse>>
pub fn get_store_opt(
&self,
req: &GetStoreRequest,
opt: CallOption
) -> Result<GetStoreResponse>
[src]
&self,
req: &GetStoreRequest,
opt: CallOption
) -> Result<GetStoreResponse>
pub fn get_store(&self, req: &GetStoreRequest) -> Result<GetStoreResponse>
[src]
pub fn get_store_async_opt(
&self,
req: &GetStoreRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetStoreResponse>>
[src]
&self,
req: &GetStoreRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetStoreResponse>>
pub fn get_store_async(
&self,
req: &GetStoreRequest
) -> Result<ClientUnaryReceiver<GetStoreResponse>>
[src]
&self,
req: &GetStoreRequest
) -> Result<ClientUnaryReceiver<GetStoreResponse>>
pub fn put_store_opt(
&self,
req: &PutStoreRequest,
opt: CallOption
) -> Result<PutStoreResponse>
[src]
&self,
req: &PutStoreRequest,
opt: CallOption
) -> Result<PutStoreResponse>
pub fn put_store(&self, req: &PutStoreRequest) -> Result<PutStoreResponse>
[src]
pub fn put_store_async_opt(
&self,
req: &PutStoreRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<PutStoreResponse>>
[src]
&self,
req: &PutStoreRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<PutStoreResponse>>
pub fn put_store_async(
&self,
req: &PutStoreRequest
) -> Result<ClientUnaryReceiver<PutStoreResponse>>
[src]
&self,
req: &PutStoreRequest
) -> Result<ClientUnaryReceiver<PutStoreResponse>>
pub fn get_all_stores_opt(
&self,
req: &GetAllStoresRequest,
opt: CallOption
) -> Result<GetAllStoresResponse>
[src]
&self,
req: &GetAllStoresRequest,
opt: CallOption
) -> Result<GetAllStoresResponse>
pub fn get_all_stores(
&self,
req: &GetAllStoresRequest
) -> Result<GetAllStoresResponse>
[src]
&self,
req: &GetAllStoresRequest
) -> Result<GetAllStoresResponse>
pub fn get_all_stores_async_opt(
&self,
req: &GetAllStoresRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetAllStoresResponse>>
[src]
&self,
req: &GetAllStoresRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetAllStoresResponse>>
pub fn get_all_stores_async(
&self,
req: &GetAllStoresRequest
) -> Result<ClientUnaryReceiver<GetAllStoresResponse>>
[src]
&self,
req: &GetAllStoresRequest
) -> Result<ClientUnaryReceiver<GetAllStoresResponse>>
pub fn store_heartbeat_opt(
&self,
req: &StoreHeartbeatRequest,
opt: CallOption
) -> Result<StoreHeartbeatResponse>
[src]
&self,
req: &StoreHeartbeatRequest,
opt: CallOption
) -> Result<StoreHeartbeatResponse>
pub fn store_heartbeat(
&self,
req: &StoreHeartbeatRequest
) -> Result<StoreHeartbeatResponse>
[src]
&self,
req: &StoreHeartbeatRequest
) -> Result<StoreHeartbeatResponse>
pub fn store_heartbeat_async_opt(
&self,
req: &StoreHeartbeatRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<StoreHeartbeatResponse>>
[src]
&self,
req: &StoreHeartbeatRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<StoreHeartbeatResponse>>
pub fn store_heartbeat_async(
&self,
req: &StoreHeartbeatRequest
) -> Result<ClientUnaryReceiver<StoreHeartbeatResponse>>
[src]
&self,
req: &StoreHeartbeatRequest
) -> Result<ClientUnaryReceiver<StoreHeartbeatResponse>>
pub fn region_heartbeat_opt(
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<RegionHeartbeatRequest>, ClientDuplexReceiver<RegionHeartbeatResponse>)>
[src]
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<RegionHeartbeatRequest>, ClientDuplexReceiver<RegionHeartbeatResponse>)>
pub fn region_heartbeat(
&self
) -> Result<(ClientDuplexSender<RegionHeartbeatRequest>, ClientDuplexReceiver<RegionHeartbeatResponse>)>
[src]
&self
) -> Result<(ClientDuplexSender<RegionHeartbeatRequest>, ClientDuplexReceiver<RegionHeartbeatResponse>)>
pub fn get_region_opt(
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<GetRegionResponse>
[src]
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<GetRegionResponse>
pub fn get_region(&self, req: &GetRegionRequest) -> Result<GetRegionResponse>
[src]
pub fn get_region_async_opt(
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
[src]
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
pub fn get_region_async(
&self,
req: &GetRegionRequest
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
[src]
&self,
req: &GetRegionRequest
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
pub fn get_prev_region_opt(
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<GetRegionResponse>
[src]
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<GetRegionResponse>
pub fn get_prev_region(
&self,
req: &GetRegionRequest
) -> Result<GetRegionResponse>
[src]
&self,
req: &GetRegionRequest
) -> Result<GetRegionResponse>
pub fn get_prev_region_async_opt(
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
[src]
&self,
req: &GetRegionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
pub fn get_prev_region_async(
&self,
req: &GetRegionRequest
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
[src]
&self,
req: &GetRegionRequest
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
pub fn get_region_by_id_opt(
&self,
req: &GetRegionByIdRequest,
opt: CallOption
) -> Result<GetRegionResponse>
[src]
&self,
req: &GetRegionByIdRequest,
opt: CallOption
) -> Result<GetRegionResponse>
pub fn get_region_by_id(
&self,
req: &GetRegionByIdRequest
) -> Result<GetRegionResponse>
[src]
&self,
req: &GetRegionByIdRequest
) -> Result<GetRegionResponse>
pub fn get_region_by_id_async_opt(
&self,
req: &GetRegionByIdRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
[src]
&self,
req: &GetRegionByIdRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
pub fn get_region_by_id_async(
&self,
req: &GetRegionByIdRequest
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
[src]
&self,
req: &GetRegionByIdRequest
) -> Result<ClientUnaryReceiver<GetRegionResponse>>
pub fn scan_regions_opt(
&self,
req: &ScanRegionsRequest,
opt: CallOption
) -> Result<ScanRegionsResponse>
[src]
&self,
req: &ScanRegionsRequest,
opt: CallOption
) -> Result<ScanRegionsResponse>
pub fn scan_regions(
&self,
req: &ScanRegionsRequest
) -> Result<ScanRegionsResponse>
[src]
&self,
req: &ScanRegionsRequest
) -> Result<ScanRegionsResponse>
pub fn scan_regions_async_opt(
&self,
req: &ScanRegionsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ScanRegionsResponse>>
[src]
&self,
req: &ScanRegionsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ScanRegionsResponse>>
pub fn scan_regions_async(
&self,
req: &ScanRegionsRequest
) -> Result<ClientUnaryReceiver<ScanRegionsResponse>>
[src]
&self,
req: &ScanRegionsRequest
) -> Result<ClientUnaryReceiver<ScanRegionsResponse>>
pub fn ask_split_opt(
&self,
req: &AskSplitRequest,
opt: CallOption
) -> Result<AskSplitResponse>
[src]
&self,
req: &AskSplitRequest,
opt: CallOption
) -> Result<AskSplitResponse>
pub fn ask_split(&self, req: &AskSplitRequest) -> Result<AskSplitResponse>
[src]
pub fn ask_split_async_opt(
&self,
req: &AskSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AskSplitResponse>>
[src]
&self,
req: &AskSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AskSplitResponse>>
pub fn ask_split_async(
&self,
req: &AskSplitRequest
) -> Result<ClientUnaryReceiver<AskSplitResponse>>
[src]
&self,
req: &AskSplitRequest
) -> Result<ClientUnaryReceiver<AskSplitResponse>>
pub fn report_split_opt(
&self,
req: &ReportSplitRequest,
opt: CallOption
) -> Result<ReportSplitResponse>
[src]
&self,
req: &ReportSplitRequest,
opt: CallOption
) -> Result<ReportSplitResponse>
pub fn report_split(
&self,
req: &ReportSplitRequest
) -> Result<ReportSplitResponse>
[src]
&self,
req: &ReportSplitRequest
) -> Result<ReportSplitResponse>
pub fn report_split_async_opt(
&self,
req: &ReportSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ReportSplitResponse>>
[src]
&self,
req: &ReportSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ReportSplitResponse>>
pub fn report_split_async(
&self,
req: &ReportSplitRequest
) -> Result<ClientUnaryReceiver<ReportSplitResponse>>
[src]
&self,
req: &ReportSplitRequest
) -> Result<ClientUnaryReceiver<ReportSplitResponse>>
pub fn ask_batch_split_opt(
&self,
req: &AskBatchSplitRequest,
opt: CallOption
) -> Result<AskBatchSplitResponse>
[src]
&self,
req: &AskBatchSplitRequest,
opt: CallOption
) -> Result<AskBatchSplitResponse>
pub fn ask_batch_split(
&self,
req: &AskBatchSplitRequest
) -> Result<AskBatchSplitResponse>
[src]
&self,
req: &AskBatchSplitRequest
) -> Result<AskBatchSplitResponse>
pub fn ask_batch_split_async_opt(
&self,
req: &AskBatchSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AskBatchSplitResponse>>
[src]
&self,
req: &AskBatchSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AskBatchSplitResponse>>
pub fn ask_batch_split_async(
&self,
req: &AskBatchSplitRequest
) -> Result<ClientUnaryReceiver<AskBatchSplitResponse>>
[src]
&self,
req: &AskBatchSplitRequest
) -> Result<ClientUnaryReceiver<AskBatchSplitResponse>>
pub fn report_batch_split_opt(
&self,
req: &ReportBatchSplitRequest,
opt: CallOption
) -> Result<ReportBatchSplitResponse>
[src]
&self,
req: &ReportBatchSplitRequest,
opt: CallOption
) -> Result<ReportBatchSplitResponse>
pub fn report_batch_split(
&self,
req: &ReportBatchSplitRequest
) -> Result<ReportBatchSplitResponse>
[src]
&self,
req: &ReportBatchSplitRequest
) -> Result<ReportBatchSplitResponse>
pub fn report_batch_split_async_opt(
&self,
req: &ReportBatchSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ReportBatchSplitResponse>>
[src]
&self,
req: &ReportBatchSplitRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ReportBatchSplitResponse>>
pub fn report_batch_split_async(
&self,
req: &ReportBatchSplitRequest
) -> Result<ClientUnaryReceiver<ReportBatchSplitResponse>>
[src]
&self,
req: &ReportBatchSplitRequest
) -> Result<ClientUnaryReceiver<ReportBatchSplitResponse>>
pub fn get_cluster_config_opt(
&self,
req: &GetClusterConfigRequest,
opt: CallOption
) -> Result<GetClusterConfigResponse>
[src]
&self,
req: &GetClusterConfigRequest,
opt: CallOption
) -> Result<GetClusterConfigResponse>
pub fn get_cluster_config(
&self,
req: &GetClusterConfigRequest
) -> Result<GetClusterConfigResponse>
[src]
&self,
req: &GetClusterConfigRequest
) -> Result<GetClusterConfigResponse>
pub fn get_cluster_config_async_opt(
&self,
req: &GetClusterConfigRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetClusterConfigResponse>>
[src]
&self,
req: &GetClusterConfigRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetClusterConfigResponse>>
pub fn get_cluster_config_async(
&self,
req: &GetClusterConfigRequest
) -> Result<ClientUnaryReceiver<GetClusterConfigResponse>>
[src]
&self,
req: &GetClusterConfigRequest
) -> Result<ClientUnaryReceiver<GetClusterConfigResponse>>
pub fn put_cluster_config_opt(
&self,
req: &PutClusterConfigRequest,
opt: CallOption
) -> Result<PutClusterConfigResponse>
[src]
&self,
req: &PutClusterConfigRequest,
opt: CallOption
) -> Result<PutClusterConfigResponse>
pub fn put_cluster_config(
&self,
req: &PutClusterConfigRequest
) -> Result<PutClusterConfigResponse>
[src]
&self,
req: &PutClusterConfigRequest
) -> Result<PutClusterConfigResponse>
pub fn put_cluster_config_async_opt(
&self,
req: &PutClusterConfigRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<PutClusterConfigResponse>>
[src]
&self,
req: &PutClusterConfigRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<PutClusterConfigResponse>>
pub fn put_cluster_config_async(
&self,
req: &PutClusterConfigRequest
) -> Result<ClientUnaryReceiver<PutClusterConfigResponse>>
[src]
&self,
req: &PutClusterConfigRequest
) -> Result<ClientUnaryReceiver<PutClusterConfigResponse>>
pub fn scatter_region_opt(
&self,
req: &ScatterRegionRequest,
opt: CallOption
) -> Result<ScatterRegionResponse>
[src]
&self,
req: &ScatterRegionRequest,
opt: CallOption
) -> Result<ScatterRegionResponse>
pub fn scatter_region(
&self,
req: &ScatterRegionRequest
) -> Result<ScatterRegionResponse>
[src]
&self,
req: &ScatterRegionRequest
) -> Result<ScatterRegionResponse>
pub fn scatter_region_async_opt(
&self,
req: &ScatterRegionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ScatterRegionResponse>>
[src]
&self,
req: &ScatterRegionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ScatterRegionResponse>>
pub fn scatter_region_async(
&self,
req: &ScatterRegionRequest
) -> Result<ClientUnaryReceiver<ScatterRegionResponse>>
[src]
&self,
req: &ScatterRegionRequest
) -> Result<ClientUnaryReceiver<ScatterRegionResponse>>
pub fn get_gc_safe_point_opt(
&self,
req: &GetGcSafePointRequest,
opt: CallOption
) -> Result<GetGcSafePointResponse>
[src]
&self,
req: &GetGcSafePointRequest,
opt: CallOption
) -> Result<GetGcSafePointResponse>
pub fn get_gc_safe_point(
&self,
req: &GetGcSafePointRequest
) -> Result<GetGcSafePointResponse>
[src]
&self,
req: &GetGcSafePointRequest
) -> Result<GetGcSafePointResponse>
pub fn get_gc_safe_point_async_opt(
&self,
req: &GetGcSafePointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetGcSafePointResponse>>
[src]
&self,
req: &GetGcSafePointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetGcSafePointResponse>>
pub fn get_gc_safe_point_async(
&self,
req: &GetGcSafePointRequest
) -> Result<ClientUnaryReceiver<GetGcSafePointResponse>>
[src]
&self,
req: &GetGcSafePointRequest
) -> Result<ClientUnaryReceiver<GetGcSafePointResponse>>
pub fn update_gc_safe_point_opt(
&self,
req: &UpdateGcSafePointRequest,
opt: CallOption
) -> Result<UpdateGcSafePointResponse>
[src]
&self,
req: &UpdateGcSafePointRequest,
opt: CallOption
) -> Result<UpdateGcSafePointResponse>
pub fn update_gc_safe_point(
&self,
req: &UpdateGcSafePointRequest
) -> Result<UpdateGcSafePointResponse>
[src]
&self,
req: &UpdateGcSafePointRequest
) -> Result<UpdateGcSafePointResponse>
pub fn update_gc_safe_point_async_opt(
&self,
req: &UpdateGcSafePointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<UpdateGcSafePointResponse>>
[src]
&self,
req: &UpdateGcSafePointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<UpdateGcSafePointResponse>>
pub fn update_gc_safe_point_async(
&self,
req: &UpdateGcSafePointRequest
) -> Result<ClientUnaryReceiver<UpdateGcSafePointResponse>>
[src]
&self,
req: &UpdateGcSafePointRequest
) -> Result<ClientUnaryReceiver<UpdateGcSafePointResponse>>
pub fn update_service_gc_safe_point_opt(
&self,
req: &UpdateServiceGcSafePointRequest,
opt: CallOption
) -> Result<UpdateServiceGcSafePointResponse>
[src]
&self,
req: &UpdateServiceGcSafePointRequest,
opt: CallOption
) -> Result<UpdateServiceGcSafePointResponse>
pub fn update_service_gc_safe_point(
&self,
req: &UpdateServiceGcSafePointRequest
) -> Result<UpdateServiceGcSafePointResponse>
[src]
&self,
req: &UpdateServiceGcSafePointRequest
) -> Result<UpdateServiceGcSafePointResponse>
pub fn update_service_gc_safe_point_async_opt(
&self,
req: &UpdateServiceGcSafePointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<UpdateServiceGcSafePointResponse>>
[src]
&self,
req: &UpdateServiceGcSafePointRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<UpdateServiceGcSafePointResponse>>
pub fn update_service_gc_safe_point_async(
&self,
req: &UpdateServiceGcSafePointRequest
) -> Result<ClientUnaryReceiver<UpdateServiceGcSafePointResponse>>
[src]
&self,
req: &UpdateServiceGcSafePointRequest
) -> Result<ClientUnaryReceiver<UpdateServiceGcSafePointResponse>>
pub fn sync_regions_opt(
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<SyncRegionRequest>, ClientDuplexReceiver<SyncRegionResponse>)>
[src]
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<SyncRegionRequest>, ClientDuplexReceiver<SyncRegionResponse>)>
pub fn sync_regions(
&self
) -> Result<(ClientDuplexSender<SyncRegionRequest>, ClientDuplexReceiver<SyncRegionResponse>)>
[src]
&self
) -> Result<(ClientDuplexSender<SyncRegionRequest>, ClientDuplexReceiver<SyncRegionResponse>)>
pub fn get_operator_opt(
&self,
req: &GetOperatorRequest,
opt: CallOption
) -> Result<GetOperatorResponse>
[src]
&self,
req: &GetOperatorRequest,
opt: CallOption
) -> Result<GetOperatorResponse>
pub fn get_operator(
&self,
req: &GetOperatorRequest
) -> Result<GetOperatorResponse>
[src]
&self,
req: &GetOperatorRequest
) -> Result<GetOperatorResponse>
pub fn get_operator_async_opt(
&self,
req: &GetOperatorRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetOperatorResponse>>
[src]
&self,
req: &GetOperatorRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetOperatorResponse>>
pub fn get_operator_async(
&self,
req: &GetOperatorRequest
) -> Result<ClientUnaryReceiver<GetOperatorResponse>>
[src]
&self,
req: &GetOperatorRequest
) -> Result<ClientUnaryReceiver<GetOperatorResponse>>
pub fn sync_max_ts_opt(
&self,
req: &SyncMaxTsRequest,
opt: CallOption
) -> Result<SyncMaxTsResponse>
[src]
&self,
req: &SyncMaxTsRequest,
opt: CallOption
) -> Result<SyncMaxTsResponse>
pub fn sync_max_ts(&self, req: &SyncMaxTsRequest) -> Result<SyncMaxTsResponse>
[src]
pub fn sync_max_ts_async_opt(
&self,
req: &SyncMaxTsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SyncMaxTsResponse>>
[src]
&self,
req: &SyncMaxTsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SyncMaxTsResponse>>
pub fn sync_max_ts_async(
&self,
req: &SyncMaxTsRequest
) -> Result<ClientUnaryReceiver<SyncMaxTsResponse>>
[src]
&self,
req: &SyncMaxTsRequest
) -> Result<ClientUnaryReceiver<SyncMaxTsResponse>>
pub fn split_regions_opt(
&self,
req: &SplitRegionsRequest,
opt: CallOption
) -> Result<SplitRegionsResponse>
[src]
&self,
req: &SplitRegionsRequest,
opt: CallOption
) -> Result<SplitRegionsResponse>
pub fn split_regions(
&self,
req: &SplitRegionsRequest
) -> Result<SplitRegionsResponse>
[src]
&self,
req: &SplitRegionsRequest
) -> Result<SplitRegionsResponse>
pub fn split_regions_async_opt(
&self,
req: &SplitRegionsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SplitRegionsResponse>>
[src]
&self,
req: &SplitRegionsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SplitRegionsResponse>>
pub fn split_regions_async(
&self,
req: &SplitRegionsRequest
) -> Result<ClientUnaryReceiver<SplitRegionsResponse>>
[src]
&self,
req: &SplitRegionsRequest
) -> Result<ClientUnaryReceiver<SplitRegionsResponse>>
pub fn get_dc_location_info_opt(
&self,
req: &GetDcLocationInfoRequest,
opt: CallOption
) -> Result<GetDcLocationInfoResponse>
[src]
&self,
req: &GetDcLocationInfoRequest,
opt: CallOption
) -> Result<GetDcLocationInfoResponse>
pub fn get_dc_location_info(
&self,
req: &GetDcLocationInfoRequest
) -> Result<GetDcLocationInfoResponse>
[src]
&self,
req: &GetDcLocationInfoRequest
) -> Result<GetDcLocationInfoResponse>
pub fn get_dc_location_info_async_opt(
&self,
req: &GetDcLocationInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetDcLocationInfoResponse>>
[src]
&self,
req: &GetDcLocationInfoRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetDcLocationInfoResponse>>
pub fn get_dc_location_info_async(
&self,
req: &GetDcLocationInfoRequest
) -> Result<ClientUnaryReceiver<GetDcLocationInfoResponse>>
[src]
&self,
req: &GetDcLocationInfoRequest
) -> Result<ClientUnaryReceiver<GetDcLocationInfoResponse>>
pub fn spawn<F>(&self, f: F) where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PdClient
impl Send for PdClient
impl Sync for PdClient
impl Unpin for PdClient
impl !UnwindSafe for PdClient
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>,