pub struct Connection { /* private fields */ }Expand description
A connection to the Temporal service.
Cloning a connection is cheap (single Arc increment). The underlying connection is shared between clones.
Implementations§
Source§impl Connection
impl Connection
Sourcepub async fn connect(
options: ConnectionOptions,
) -> Result<Self, ClientConnectError>
pub async fn connect( options: ConnectionOptions, ) -> Result<Self, ClientConnectError>
Connect to a Temporal service.
Sourcepub fn set_api_key(&self, api_key: Option<String>)
pub fn set_api_key(&self, api_key: Option<String>)
Set API key, overwriting any previous one.
Sourcepub fn set_headers(
&self,
headers: HashMap<String, String>,
) -> Result<(), InvalidHeaderError>
pub fn set_headers( &self, headers: HashMap<String, String>, ) -> Result<(), InvalidHeaderError>
Set HTTP request headers overwriting previous headers.
This will not affect headers set via ConnectionOptions::binary_headers.
§Errors
Will return an error if any of the provided keys or values are not valid gRPC metadata. If an error is returned, the previous headers will remain unchanged.
Sourcepub fn set_binary_headers(
&self,
binary_headers: HashMap<String, Vec<u8>>,
) -> Result<(), InvalidHeaderError>
pub fn set_binary_headers( &self, binary_headers: HashMap<String, Vec<u8>>, ) -> Result<(), InvalidHeaderError>
Set binary HTTP request headers overwriting previous headers.
This will not affect headers set via ConnectionOptions::headers.
§Errors
Will return an error if any of the provided keys are not valid gRPC binary metadata keys. If an error is returned, the previous headers will remain unchanged.
Sourcepub fn client_name(&self) -> &str
pub fn client_name(&self) -> &str
Returns the value used for the client-name header by this connection.
Sourcepub fn client_version(&self) -> &str
pub fn client_version(&self) -> &str
Returns the value used for the client-version header by this connection.
Sourcepub fn capabilities(&self) -> Option<&Capabilities>
pub fn capabilities(&self) -> Option<&Capabilities>
Returns the server capabilities we (may have) learned about when establishing an initial connection
Sourcepub fn retry_options_mut(&mut self) -> &mut RetryOptions
pub fn retry_options_mut(&mut self) -> &mut RetryOptions
Get a mutable reference to the retry options.
Note: If this connection has been cloned, this will copy-on-write to avoid affecting other clones.
Sourcepub fn identity_mut(&mut self) -> &mut String
pub fn identity_mut(&mut self) -> &mut String
Get a mutable reference to the connection identity.
Note: If this connection has been cloned, this will copy-on-write to avoid affecting other clones.
Sourcepub fn workers(&self) -> Arc<ClientWorkerSet>
pub fn workers(&self) -> Arc<ClientWorkerSet>
Returns a reference to a registry with workers using this client instance.
Sourcepub fn worker_grouping_key(&self) -> Uuid
pub fn worker_grouping_key(&self) -> Uuid
Returns the client-wide key.
Sourcepub fn workflow_service(&self) -> Box<dyn WorkflowService>
pub fn workflow_service(&self) -> Box<dyn WorkflowService>
Get the underlying workflow service client for making raw gRPC calls.
Sourcepub fn operator_service(&self) -> Box<dyn OperatorService>
pub fn operator_service(&self) -> Box<dyn OperatorService>
Get the underlying operator service client for making raw gRPC calls.
Sourcepub fn cloud_service(&self) -> Box<dyn CloudService>
pub fn cloud_service(&self) -> Box<dyn CloudService>
Get the underlying cloud service client for making raw gRPC calls.
Sourcepub fn test_service(&self) -> Box<dyn TestService>
pub fn test_service(&self) -> Box<dyn TestService>
Get the underlying test service client for making raw gRPC calls.
Sourcepub fn health_service(&self) -> Box<dyn HealthService>
pub fn health_service(&self) -> Box<dyn HealthService>
Get the underlying health service client for making raw gRPC calls.
Trait Implementations§
Source§impl Clone for Connection
impl Clone for Connection
Source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for Connection
impl !RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
impl !UnwindSafe for Connection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<RC> CloudService for RC
impl<RC> CloudService for RC
Source§fn get_users(
&mut self,
request: Request<GetUsersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUsersResponse>, Status>> + Send + '_>>
fn get_users( &mut self, request: Request<GetUsersRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUsersResponse>, Status>> + Send + '_>>
Source§fn get_user(
&mut self,
request: Request<GetUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserResponse>, Status>> + Send + '_>>
fn get_user( &mut self, request: Request<GetUserRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUserResponse>, Status>> + Send + '_>>
Source§fn create_user(
&mut self,
request: Request<CreateUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateUserResponse>, Status>> + Send + '_>>
fn create_user( &mut self, request: Request<CreateUserRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateUserResponse>, Status>> + Send + '_>>
Source§fn update_user(
&mut self,
request: Request<UpdateUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateUserResponse>, Status>> + Send + '_>>
fn update_user( &mut self, request: Request<UpdateUserRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateUserResponse>, Status>> + Send + '_>>
Source§fn delete_user(
&mut self,
request: Request<DeleteUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteUserResponse>, Status>> + Send + '_>>
fn delete_user( &mut self, request: Request<DeleteUserRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteUserResponse>, Status>> + Send + '_>>
Source§fn set_user_namespace_access(
&mut self,
request: Request<SetUserNamespaceAccessRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetUserNamespaceAccessResponse>, Status>> + Send + '_>>
fn set_user_namespace_access( &mut self, request: Request<SetUserNamespaceAccessRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SetUserNamespaceAccessResponse>, Status>> + Send + '_>>
Source§fn get_async_operation(
&mut self,
request: Request<GetAsyncOperationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAsyncOperationResponse>, Status>> + Send + '_>>
fn get_async_operation( &mut self, request: Request<GetAsyncOperationRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetAsyncOperationResponse>, Status>> + Send + '_>>
Source§fn create_namespace(
&mut self,
request: Request<CreateNamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateNamespaceResponse>, Status>> + Send + '_>>
fn create_namespace( &mut self, request: Request<CreateNamespaceRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateNamespaceResponse>, Status>> + Send + '_>>
Source§fn get_namespaces(
&mut self,
request: Request<GetNamespacesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespacesResponse>, Status>> + Send + '_>>
fn get_namespaces( &mut self, request: Request<GetNamespacesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespacesResponse>, Status>> + Send + '_>>
Source§fn get_namespace(
&mut self,
request: Request<GetNamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceResponse>, Status>> + Send + '_>>
fn get_namespace( &mut self, request: Request<GetNamespaceRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceResponse>, Status>> + Send + '_>>
Source§fn update_namespace(
&mut self,
request: Request<UpdateNamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateNamespaceResponse>, Status>> + Send + '_>>
fn update_namespace( &mut self, request: Request<UpdateNamespaceRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateNamespaceResponse>, Status>> + Send + '_>>
Source§fn rename_custom_search_attribute(
&mut self,
request: Request<RenameCustomSearchAttributeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenameCustomSearchAttributeResponse>, Status>> + Send + '_>>
fn rename_custom_search_attribute( &mut self, request: Request<RenameCustomSearchAttributeRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RenameCustomSearchAttributeResponse>, Status>> + Send + '_>>
Source§fn delete_namespace(
&mut self,
request: Request<DeleteNamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNamespaceResponse>, Status>> + Send + '_>>
fn delete_namespace( &mut self, request: Request<DeleteNamespaceRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNamespaceResponse>, Status>> + Send + '_>>
Source§fn failover_namespace_region(
&mut self,
request: Request<FailoverNamespaceRegionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FailoverNamespaceRegionResponse>, Status>> + Send + '_>>
fn failover_namespace_region( &mut self, request: Request<FailoverNamespaceRegionRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<FailoverNamespaceRegionResponse>, Status>> + Send + '_>>
Source§fn add_namespace_region(
&mut self,
request: Request<AddNamespaceRegionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AddNamespaceRegionResponse>, Status>> + Send + '_>>
fn add_namespace_region( &mut self, request: Request<AddNamespaceRegionRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<AddNamespaceRegionResponse>, Status>> + Send + '_>>
Source§fn delete_namespace_region(
&mut self,
request: Request<DeleteNamespaceRegionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNamespaceRegionResponse>, Status>> + Send + '_>>
fn delete_namespace_region( &mut self, request: Request<DeleteNamespaceRegionRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNamespaceRegionResponse>, Status>> + Send + '_>>
Source§fn get_regions(
&mut self,
request: Request<GetRegionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetRegionsResponse>, Status>> + Send + '_>>
fn get_regions( &mut self, request: Request<GetRegionsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetRegionsResponse>, Status>> + Send + '_>>
Source§fn get_region(
&mut self,
request: Request<GetRegionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetRegionResponse>, Status>> + Send + '_>>
fn get_region( &mut self, request: Request<GetRegionRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetRegionResponse>, Status>> + Send + '_>>
Source§fn get_api_keys(
&mut self,
request: Request<GetApiKeysRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetApiKeysResponse>, Status>> + Send + '_>>
fn get_api_keys( &mut self, request: Request<GetApiKeysRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetApiKeysResponse>, Status>> + Send + '_>>
Source§fn get_api_key(
&mut self,
request: Request<GetApiKeyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetApiKeyResponse>, Status>> + Send + '_>>
fn get_api_key( &mut self, request: Request<GetApiKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetApiKeyResponse>, Status>> + Send + '_>>
Source§fn create_api_key(
&mut self,
request: Request<CreateApiKeyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateApiKeyResponse>, Status>> + Send + '_>>
fn create_api_key( &mut self, request: Request<CreateApiKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateApiKeyResponse>, Status>> + Send + '_>>
Source§fn update_api_key(
&mut self,
request: Request<UpdateApiKeyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateApiKeyResponse>, Status>> + Send + '_>>
fn update_api_key( &mut self, request: Request<UpdateApiKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateApiKeyResponse>, Status>> + Send + '_>>
Source§fn delete_api_key(
&mut self,
request: Request<DeleteApiKeyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteApiKeyResponse>, Status>> + Send + '_>>
fn delete_api_key( &mut self, request: Request<DeleteApiKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteApiKeyResponse>, Status>> + Send + '_>>
Source§fn get_nexus_endpoints(
&mut self,
request: Request<GetNexusEndpointsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNexusEndpointsResponse>, Status>> + Send + '_>>
fn get_nexus_endpoints( &mut self, request: Request<GetNexusEndpointsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNexusEndpointsResponse>, Status>> + Send + '_>>
Source§fn get_nexus_endpoint(
&mut self,
request: Request<GetNexusEndpointRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNexusEndpointResponse>, Status>> + Send + '_>>
fn get_nexus_endpoint( &mut self, request: Request<GetNexusEndpointRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNexusEndpointResponse>, Status>> + Send + '_>>
Source§fn create_nexus_endpoint(
&mut self,
request: Request<CreateNexusEndpointRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateNexusEndpointResponse>, Status>> + Send + '_>>
fn create_nexus_endpoint( &mut self, request: Request<CreateNexusEndpointRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateNexusEndpointResponse>, Status>> + Send + '_>>
Source§fn update_nexus_endpoint(
&mut self,
request: Request<UpdateNexusEndpointRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateNexusEndpointResponse>, Status>> + Send + '_>>
fn update_nexus_endpoint( &mut self, request: Request<UpdateNexusEndpointRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateNexusEndpointResponse>, Status>> + Send + '_>>
Source§fn delete_nexus_endpoint(
&mut self,
request: Request<DeleteNexusEndpointRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNexusEndpointResponse>, Status>> + Send + '_>>
fn delete_nexus_endpoint( &mut self, request: Request<DeleteNexusEndpointRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNexusEndpointResponse>, Status>> + Send + '_>>
Source§fn get_user_groups(
&mut self,
request: Request<GetUserGroupsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupsResponse>, Status>> + Send + '_>>
fn get_user_groups( &mut self, request: Request<GetUserGroupsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupsResponse>, Status>> + Send + '_>>
Source§fn get_user_group(
&mut self,
request: Request<GetUserGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupResponse>, Status>> + Send + '_>>
fn get_user_group( &mut self, request: Request<GetUserGroupRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupResponse>, Status>> + Send + '_>>
Source§fn create_user_group(
&mut self,
request: Request<CreateUserGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateUserGroupResponse>, Status>> + Send + '_>>
fn create_user_group( &mut self, request: Request<CreateUserGroupRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateUserGroupResponse>, Status>> + Send + '_>>
Source§fn update_user_group(
&mut self,
request: Request<UpdateUserGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateUserGroupResponse>, Status>> + Send + '_>>
fn update_user_group( &mut self, request: Request<UpdateUserGroupRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateUserGroupResponse>, Status>> + Send + '_>>
Source§fn delete_user_group(
&mut self,
request: Request<DeleteUserGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteUserGroupResponse>, Status>> + Send + '_>>
fn delete_user_group( &mut self, request: Request<DeleteUserGroupRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteUserGroupResponse>, Status>> + Send + '_>>
Source§fn add_user_group_member(
&mut self,
request: Request<AddUserGroupMemberRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AddUserGroupMemberResponse>, Status>> + Send + '_>>
fn add_user_group_member( &mut self, request: Request<AddUserGroupMemberRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<AddUserGroupMemberResponse>, Status>> + Send + '_>>
Source§fn remove_user_group_member(
&mut self,
request: Request<RemoveUserGroupMemberRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RemoveUserGroupMemberResponse>, Status>> + Send + '_>>
fn remove_user_group_member( &mut self, request: Request<RemoveUserGroupMemberRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RemoveUserGroupMemberResponse>, Status>> + Send + '_>>
Source§fn get_user_group_members(
&mut self,
request: Request<GetUserGroupMembersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupMembersResponse>, Status>> + Send + '_>>
fn get_user_group_members( &mut self, request: Request<GetUserGroupMembersRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupMembersResponse>, Status>> + Send + '_>>
Source§fn set_user_group_namespace_access(
&mut self,
request: Request<SetUserGroupNamespaceAccessRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetUserGroupNamespaceAccessResponse>, Status>> + Send + '_>>
fn set_user_group_namespace_access( &mut self, request: Request<SetUserGroupNamespaceAccessRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SetUserGroupNamespaceAccessResponse>, Status>> + Send + '_>>
Source§fn create_service_account(
&mut self,
request: Request<CreateServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateServiceAccountResponse>, Status>> + Send + '_>>
fn create_service_account( &mut self, request: Request<CreateServiceAccountRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateServiceAccountResponse>, Status>> + Send + '_>>
Source§fn get_service_account(
&mut self,
request: Request<GetServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceAccountResponse>, Status>> + Send + '_>>
fn get_service_account( &mut self, request: Request<GetServiceAccountRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceAccountResponse>, Status>> + Send + '_>>
Source§fn get_service_accounts(
&mut self,
request: Request<GetServiceAccountsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceAccountsResponse>, Status>> + Send + '_>>
fn get_service_accounts( &mut self, request: Request<GetServiceAccountsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceAccountsResponse>, Status>> + Send + '_>>
Source§fn update_service_account(
&mut self,
request: Request<UpdateServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateServiceAccountResponse>, Status>> + Send + '_>>
fn update_service_account( &mut self, request: Request<UpdateServiceAccountRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateServiceAccountResponse>, Status>> + Send + '_>>
Source§fn delete_service_account(
&mut self,
request: Request<DeleteServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteServiceAccountResponse>, Status>> + Send + '_>>
fn delete_service_account( &mut self, request: Request<DeleteServiceAccountRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteServiceAccountResponse>, Status>> + Send + '_>>
Source§fn get_usage(
&mut self,
request: Request<GetUsageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUsageResponse>, Status>> + Send + '_>>
fn get_usage( &mut self, request: Request<GetUsageRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUsageResponse>, Status>> + Send + '_>>
Source§fn get_account(
&mut self,
request: Request<GetAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAccountResponse>, Status>> + Send + '_>>
fn get_account( &mut self, request: Request<GetAccountRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetAccountResponse>, Status>> + Send + '_>>
Source§fn update_account(
&mut self,
request: Request<UpdateAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateAccountResponse>, Status>> + Send + '_>>
fn update_account( &mut self, request: Request<UpdateAccountRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateAccountResponse>, Status>> + Send + '_>>
Source§fn create_namespace_export_sink(
&mut self,
request: Request<CreateNamespaceExportSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateNamespaceExportSinkResponse>, Status>> + Send + '_>>
fn create_namespace_export_sink( &mut self, request: Request<CreateNamespaceExportSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateNamespaceExportSinkResponse>, Status>> + Send + '_>>
Source§fn get_namespace_export_sink(
&mut self,
request: Request<GetNamespaceExportSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceExportSinkResponse>, Status>> + Send + '_>>
fn get_namespace_export_sink( &mut self, request: Request<GetNamespaceExportSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceExportSinkResponse>, Status>> + Send + '_>>
Source§fn get_namespace_export_sinks(
&mut self,
request: Request<GetNamespaceExportSinksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceExportSinksResponse>, Status>> + Send + '_>>
fn get_namespace_export_sinks( &mut self, request: Request<GetNamespaceExportSinksRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceExportSinksResponse>, Status>> + Send + '_>>
Source§fn update_namespace_export_sink(
&mut self,
request: Request<UpdateNamespaceExportSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateNamespaceExportSinkResponse>, Status>> + Send + '_>>
fn update_namespace_export_sink( &mut self, request: Request<UpdateNamespaceExportSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateNamespaceExportSinkResponse>, Status>> + Send + '_>>
Source§fn delete_namespace_export_sink(
&mut self,
request: Request<DeleteNamespaceExportSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNamespaceExportSinkResponse>, Status>> + Send + '_>>
fn delete_namespace_export_sink( &mut self, request: Request<DeleteNamespaceExportSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteNamespaceExportSinkResponse>, Status>> + Send + '_>>
Source§fn validate_namespace_export_sink(
&mut self,
request: Request<ValidateNamespaceExportSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ValidateNamespaceExportSinkResponse>, Status>> + Send + '_>>
fn validate_namespace_export_sink( &mut self, request: Request<ValidateNamespaceExportSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ValidateNamespaceExportSinkResponse>, Status>> + Send + '_>>
Source§fn create_connectivity_rule(
&mut self,
request: Request<CreateConnectivityRuleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateConnectivityRuleResponse>, Status>> + Send + '_>>
fn create_connectivity_rule( &mut self, request: Request<CreateConnectivityRuleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateConnectivityRuleResponse>, Status>> + Send + '_>>
Source§fn get_connectivity_rule(
&mut self,
request: Request<GetConnectivityRuleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetConnectivityRuleResponse>, Status>> + Send + '_>>
fn get_connectivity_rule( &mut self, request: Request<GetConnectivityRuleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetConnectivityRuleResponse>, Status>> + Send + '_>>
Source§fn get_connectivity_rules(
&mut self,
request: Request<GetConnectivityRulesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetConnectivityRulesResponse>, Status>> + Send + '_>>
fn get_connectivity_rules( &mut self, request: Request<GetConnectivityRulesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetConnectivityRulesResponse>, Status>> + Send + '_>>
Source§fn delete_connectivity_rule(
&mut self,
request: Request<DeleteConnectivityRuleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteConnectivityRuleResponse>, Status>> + Send + '_>>
fn delete_connectivity_rule( &mut self, request: Request<DeleteConnectivityRuleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteConnectivityRuleResponse>, Status>> + Send + '_>>
Source§fn set_service_account_namespace_access(
&mut self,
request: Request<SetServiceAccountNamespaceAccessRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetServiceAccountNamespaceAccessResponse>, Status>> + Send + '_>>
fn set_service_account_namespace_access( &mut self, request: Request<SetServiceAccountNamespaceAccessRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SetServiceAccountNamespaceAccessResponse>, Status>> + Send + '_>>
Source§fn validate_account_audit_log_sink(
&mut self,
request: Request<ValidateAccountAuditLogSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ValidateAccountAuditLogSinkResponse>, Status>> + Send + '_>>
fn validate_account_audit_log_sink( &mut self, request: Request<ValidateAccountAuditLogSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ValidateAccountAuditLogSinkResponse>, Status>> + Send + '_>>
Source§impl<RC> HealthService for RC
impl<RC> HealthService for RC
Source§fn check(
&mut self,
request: Request<HealthCheckRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HealthCheckResponse>, Status>> + Send + '_>>
fn check( &mut self, request: Request<HealthCheckRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<HealthCheckResponse>, Status>> + Send + '_>>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request