pub struct Client { /* private fields */ }Expand description
Contains an instance of a namespace-bound client for interacting with the Temporal server. Cheap to clone.
Implementations§
Source§impl Client
impl Client
Sourcepub async fn create_schedule(
&self,
schedule_id: impl Into<String>,
opts: CreateScheduleOptions,
) -> Result<ScheduleHandle<Self>, ScheduleError>
pub async fn create_schedule( &self, schedule_id: impl Into<String>, opts: CreateScheduleOptions, ) -> Result<ScheduleHandle<Self>, ScheduleError>
Create a schedule and return a handle to it.
Sourcepub fn get_schedule_handle(
&self,
schedule_id: impl Into<String>,
) -> ScheduleHandle<Self>
pub fn get_schedule_handle( &self, schedule_id: impl Into<String>, ) -> ScheduleHandle<Self>
Get a handle to an existing schedule by ID.
Sourcepub fn list_schedules(&self, opts: ListSchedulesOptions) -> ListSchedulesStream
pub fn list_schedules(&self, opts: ListSchedulesOptions) -> ListSchedulesStream
List schedules matching the query, returning a stream that lazily paginates through results.
Source§impl Client
impl Client
Sourcepub async fn connect(
connection_options: ConnectionOptions,
client_options: ClientOptions,
) -> Result<Self, ClientConnectError>
pub async fn connect( connection_options: ConnectionOptions, client_options: ClientOptions, ) -> Result<Self, ClientConnectError>
Connect to a Temporal service and create a namespace-bound client, applying registered plugins to connection and client options in registration order.
Sourcepub fn new(
connection: Connection,
options: ClientOptions,
) -> Result<Self, ClientNewError>
pub fn new( connection: Connection, options: ClientOptions, ) -> Result<Self, ClientNewError>
Create a new client from a connection and options.
Registered client plugins are applied here. Connection plugin hooks only run when using
Client::connect.
Sourcepub fn options(&self) -> &ClientOptions
pub fn options(&self) -> &ClientOptions
Return the options this client was initialized with
Sourcepub fn options_mut(&mut self) -> &mut ClientOptions
pub fn options_mut(&mut self) -> &mut ClientOptions
Return this client’s options mutably.
Note: If this client has been cloned, this will copy-on-write to avoid affecting other clones.
Sourcepub fn connection(&self) -> &Connection
pub fn connection(&self) -> &Connection
Returns a reference to the underlying connection
Sourcepub fn connection_mut(&mut self) -> &mut Connection
pub fn connection_mut(&mut self) -> &mut Connection
Returns a mutable reference to the underlying connection
Source§impl Client
impl Client
Sourcepub async fn start_workflow<W>(
&self,
workflow: W,
input: W::Input,
options: WorkflowStartOptions,
) -> Result<WorkflowHandle<Self, W>, WorkflowStartError>
pub async fn start_workflow<W>( &self, workflow: W, input: W::Input, options: WorkflowStartOptions, ) -> Result<WorkflowHandle<Self, W>, WorkflowStartError>
Start a workflow execution.
Returns a WorkflowHandle that can be used to interact with the workflow
(e.g., get its result, send signals, query, etc.).
Sourcepub fn get_workflow_handle<W: HasWorkflowDefinition>(
&self,
workflow_id: impl Into<String>,
) -> WorkflowHandle<Self, W>
pub fn get_workflow_handle<W: HasWorkflowDefinition>( &self, workflow_id: impl Into<String>, ) -> WorkflowHandle<Self, W>
Get a handle to an existing workflow.
For untyped access, use get_workflow_handle::<UntypedWorkflow>(...).
Sourcepub fn list_workflows(
&self,
query: impl Into<String>,
opts: WorkflowListOptions,
) -> ListWorkflowsStream
pub fn list_workflows( &self, query: impl Into<String>, opts: WorkflowListOptions, ) -> ListWorkflowsStream
List workflows matching a query.
Returns a stream that lazily paginates through results.
Use limit in options to cap the number of results returned.
Sourcepub async fn count_workflows(
&self,
query: impl Into<String>,
opts: WorkflowCountOptions,
) -> Result<WorkflowExecutionCount, ClientError>
pub async fn count_workflows( &self, query: impl Into<String>, opts: WorkflowCountOptions, ) -> Result<WorkflowExecutionCount, ClientError>
Count workflows matching a query.
Sourcepub fn get_async_activity_handle(
&self,
identifier: ActivityIdentifier,
) -> AsyncActivityHandle<Self>
pub fn get_async_activity_handle( &self, identifier: ActivityIdentifier, ) -> AsyncActivityHandle<Self>
Get a handle to complete an activity asynchronously.
An activity returning ActivityError::WillCompleteAsync can be completed with this handle.
To get a handle to a standalone activity that can be used to wait for result and manage
the execution, see get_activity_handle.
Sourcepub async fn start_activity<A>(
&self,
activity: A,
input: A::Input,
options: ActivityStartOptions,
) -> Result<ActivityHandle<Self, A>, StartActivityError>where
A: ActivityDefinition,
pub async fn start_activity<A>(
&self,
activity: A,
input: A::Input,
options: ActivityStartOptions,
) -> Result<ActivityHandle<Self, A>, StartActivityError>where
A: ActivityDefinition,
Start a standalone activity.
Returns ActivityHandle that can be used to wait for result or to perform other
operations on the activity.
Sourcepub fn get_activity_handle<A>(
&self,
activity: A,
id: impl Into<String>,
run_id: Option<String>,
) -> ActivityHandle<Self, A>where
Self: Sized,
A: ActivityDefinition,
pub fn get_activity_handle<A>(
&self,
activity: A,
id: impl Into<String>,
run_id: Option<String>,
) -> ActivityHandle<Self, A>where
Self: Sized,
A: ActivityDefinition,
Get a handle to an existing standalone activity execution. If run_id is not specified,
the handle always targets the latest execution with matching ID.
Note that the validity of the handle is not checked until a method is called on it.
If invalid ID or run ID is used, the method will return NotFound error.
To get an untyped handle, use get_untyped_activity_handle.
To get a handle that can be used to complete an activity asynchronously,
see get_async_activity_handle.
Sourcepub fn get_untyped_activity_handle(
&self,
id: impl Into<String>,
run_id: Option<String>,
) -> ActivityHandle<Self, UntypedActivity>where
Self: Sized,
pub fn get_untyped_activity_handle(
&self,
id: impl Into<String>,
run_id: Option<String>,
) -> ActivityHandle<Self, UntypedActivity>where
Self: Sized,
Get an untyped handle to an existing standalone activity execution. If run_id is not
specified, the handle always targets the latest execution with matching ID.
Note that the validity of the handle is not checked until a method is called on it.
If invalid ID or run ID is used, the method will return NotFound error.
To get a typed handle, use get_activity_handle.
To get a handle that can be used to complete an activity asynchronously,
see get_async_activity_handle.
Sourcepub fn list_activities(
&self,
query: impl Into<String>,
options: ActivityListOptions,
) -> ListActivitiesStream
pub fn list_activities( &self, query: impl Into<String>, options: ActivityListOptions, ) -> ListActivitiesStream
List activities matching a query. Returns a stream that lazily paginates through results.
Sourcepub async fn count_activities(
&self,
query: impl Into<String>,
options: ActivityCountOptions,
) -> Result<ActivityExecutionCount, ClientError>
pub async fn count_activities( &self, query: impl Into<String>, options: ActivityCountOptions, ) -> Result<ActivityExecutionCount, ClientError>
Count activities matching a query.
Trait Implementations§
Source§impl NamespacedClient for Client
impl NamespacedClient for Client
Source§fn data_converter(&self) -> &DataConverter
fn data_converter(&self) -> &DataConverter
Source§fn client_interceptors(&self) -> &[Arc<dyn ClientInterceptor>]
fn client_interceptors(&self) -> &[Arc<dyn ClientInterceptor>]
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
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§fn get_current_identity(
&mut self,
request: Request<GetCurrentIdentityRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCurrentIdentityResponse>, Status>> + Send + '_>>
fn get_current_identity( &mut self, request: Request<GetCurrentIdentityRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetCurrentIdentityResponse>, Status>> + Send + '_>>
Source§fn get_audit_logs(
&mut self,
request: Request<GetAuditLogsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAuditLogsResponse>, Status>> + Send + '_>>
fn get_audit_logs( &mut self, request: Request<GetAuditLogsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetAuditLogsResponse>, Status>> + Send + '_>>
Source§fn create_account_audit_log_sink(
&mut self,
request: Request<CreateAccountAuditLogSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateAccountAuditLogSinkResponse>, Status>> + Send + '_>>
fn create_account_audit_log_sink( &mut self, request: Request<CreateAccountAuditLogSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateAccountAuditLogSinkResponse>, Status>> + Send + '_>>
Source§fn get_account_audit_log_sink(
&mut self,
request: Request<GetAccountAuditLogSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAccountAuditLogSinkResponse>, Status>> + Send + '_>>
fn get_account_audit_log_sink( &mut self, request: Request<GetAccountAuditLogSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetAccountAuditLogSinkResponse>, Status>> + Send + '_>>
Source§fn get_account_audit_log_sinks(
&mut self,
request: Request<GetAccountAuditLogSinksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAccountAuditLogSinksResponse>, Status>> + Send + '_>>
fn get_account_audit_log_sinks( &mut self, request: Request<GetAccountAuditLogSinksRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetAccountAuditLogSinksResponse>, Status>> + Send + '_>>
Source§fn update_account_audit_log_sink(
&mut self,
request: Request<UpdateAccountAuditLogSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateAccountAuditLogSinkResponse>, Status>> + Send + '_>>
fn update_account_audit_log_sink( &mut self, request: Request<UpdateAccountAuditLogSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateAccountAuditLogSinkResponse>, Status>> + Send + '_>>
Source§fn delete_account_audit_log_sink(
&mut self,
request: Request<DeleteAccountAuditLogSinkRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteAccountAuditLogSinkResponse>, Status>> + Send + '_>>
fn delete_account_audit_log_sink( &mut self, request: Request<DeleteAccountAuditLogSinkRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteAccountAuditLogSinkResponse>, Status>> + Send + '_>>
Source§fn get_namespace_capacity_info(
&mut self,
request: Request<GetNamespaceCapacityInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceCapacityInfoResponse>, Status>> + Send + '_>>
fn get_namespace_capacity_info( &mut self, request: Request<GetNamespaceCapacityInfoRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetNamespaceCapacityInfoResponse>, Status>> + Send + '_>>
Source§fn create_billing_report(
&mut self,
request: Request<CreateBillingReportRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateBillingReportResponse>, Status>> + Send + '_>>
fn create_billing_report( &mut self, request: Request<CreateBillingReportRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateBillingReportResponse>, Status>> + Send + '_>>
Source§fn get_billing_report(
&mut self,
request: Request<GetBillingReportRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBillingReportResponse>, Status>> + Send + '_>>
fn get_billing_report( &mut self, request: Request<GetBillingReportRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetBillingReportResponse>, Status>> + Send + '_>>
Source§fn get_custom_roles(
&mut self,
request: Request<GetCustomRolesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCustomRolesResponse>, Status>> + Send + '_>>
fn get_custom_roles( &mut self, request: Request<GetCustomRolesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetCustomRolesResponse>, Status>> + Send + '_>>
Source§fn get_custom_role(
&mut self,
request: Request<GetCustomRoleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCustomRoleResponse>, Status>> + Send + '_>>
fn get_custom_role( &mut self, request: Request<GetCustomRoleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetCustomRoleResponse>, Status>> + Send + '_>>
Source§fn create_custom_role(
&mut self,
request: Request<CreateCustomRoleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateCustomRoleResponse>, Status>> + Send + '_>>
fn create_custom_role( &mut self, request: Request<CreateCustomRoleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateCustomRoleResponse>, Status>> + Send + '_>>
Source§fn update_custom_role(
&mut self,
request: Request<UpdateCustomRoleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateCustomRoleResponse>, Status>> + Send + '_>>
fn update_custom_role( &mut self, request: Request<UpdateCustomRoleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateCustomRoleResponse>, Status>> + Send + '_>>
Source§fn delete_custom_role(
&mut self,
request: Request<DeleteCustomRoleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteCustomRoleResponse>, Status>> + Send + '_>>
fn delete_custom_role( &mut self, request: Request<DeleteCustomRoleRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteCustomRoleResponse>, Status>> + Send + '_>>
Source§fn get_user_namespace_assignments(
&mut self,
request: Request<GetUserNamespaceAssignmentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserNamespaceAssignmentsResponse>, Status>> + Send + '_>>
fn get_user_namespace_assignments( &mut self, request: Request<GetUserNamespaceAssignmentsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUserNamespaceAssignmentsResponse>, Status>> + Send + '_>>
Source§fn get_service_account_namespace_assignments(
&mut self,
request: Request<GetServiceAccountNamespaceAssignmentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceAccountNamespaceAssignmentsResponse>, Status>> + Send + '_>>
fn get_service_account_namespace_assignments( &mut self, request: Request<GetServiceAccountNamespaceAssignmentsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceAccountNamespaceAssignmentsResponse>, Status>> + Send + '_>>
Source§fn get_user_group_namespace_assignments(
&mut self,
request: Request<GetUserGroupNamespaceAssignmentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupNamespaceAssignmentsResponse>, Status>> + Send + '_>>
fn get_user_group_namespace_assignments( &mut self, request: Request<GetUserGroupNamespaceAssignmentsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetUserGroupNamespaceAssignmentsResponse>, 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