pub trait DeveloperConnect:
Debug
+ Send
+ Sync {
Show 32 methods
// Provided methods
fn list_connections(
&self,
_req: ListConnectionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListConnectionsResponse>>> + Send { ... }
fn get_connection(
&self,
_req: GetConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Connection>>> + Send { ... }
fn create_connection(
&self,
_req: CreateConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn update_connection(
&self,
_req: UpdateConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_connection(
&self,
_req: DeleteConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn create_git_repository_link(
&self,
_req: CreateGitRepositoryLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_git_repository_link(
&self,
_req: DeleteGitRepositoryLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn list_git_repository_links(
&self,
_req: ListGitRepositoryLinksRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListGitRepositoryLinksResponse>>> + Send { ... }
fn get_git_repository_link(
&self,
_req: GetGitRepositoryLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<GitRepositoryLink>>> + Send { ... }
fn fetch_read_write_token(
&self,
_req: FetchReadWriteTokenRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchReadWriteTokenResponse>>> + Send { ... }
fn fetch_read_token(
&self,
_req: FetchReadTokenRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchReadTokenResponse>>> + Send { ... }
fn fetch_linkable_git_repositories(
&self,
_req: FetchLinkableGitRepositoriesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchLinkableGitRepositoriesResponse>>> + Send { ... }
fn fetch_git_hub_installations(
&self,
_req: FetchGitHubInstallationsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchGitHubInstallationsResponse>>> + Send { ... }
fn fetch_git_refs(
&self,
_req: FetchGitRefsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchGitRefsResponse>>> + Send { ... }
fn list_account_connectors(
&self,
_req: ListAccountConnectorsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAccountConnectorsResponse>>> + Send { ... }
fn get_account_connector(
&self,
_req: GetAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<AccountConnector>>> + Send { ... }
fn create_account_connector(
&self,
_req: CreateAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn update_account_connector(
&self,
_req: UpdateAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_account_connector(
&self,
_req: DeleteAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn fetch_access_token(
&self,
_req: FetchAccessTokenRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchAccessTokenResponse>>> + Send { ... }
fn list_users(
&self,
_req: ListUsersRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListUsersResponse>>> + Send { ... }
fn delete_user(
&self,
_req: DeleteUserRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn fetch_self(
&self,
_req: FetchSelfRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<User>>> + Send { ... }
fn delete_self(
&self,
_req: DeleteSelfRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn list_locations(
&self,
_req: ListLocationsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send { ... }
fn get_location(
&self,
_req: GetLocationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Location>>> + Send { ... }
fn list_operations(
&self,
_req: ListOperationsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send { ... }
fn get_operation(
&self,
_req: GetOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_operation(
&self,
_req: DeleteOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn cancel_operation(
&self,
_req: CancelOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn get_polling_error_policy(
&self,
_options: &RequestOptions,
) -> Arc<dyn PollingErrorPolicy> { ... }
fn get_polling_backoff_policy(
&self,
_options: &RequestOptions,
) -> Arc<dyn PollingBackoffPolicy> { ... }
}Expand description
Defines the trait used to implement super::client::DeveloperConnect.
Application developers may need to implement this trait to mock
client::DeveloperConnect. In other use-cases, application developers only
use client::DeveloperConnect and need not be concerned with this trait or
its implementations.
Services gain new RPCs routinely. Consequently, this trait gains new methods too. To avoid breaking applications the trait provides a default implementation of each method. Most of these implementations just return an error.
Provided Methods§
Sourcefn list_connections(
&self,
_req: ListConnectionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListConnectionsResponse>>> + Send
fn list_connections( &self, _req: ListConnectionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectionsResponse>>> + Send
Sourcefn get_connection(
&self,
_req: GetConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Connection>>> + Send
fn get_connection( &self, _req: GetConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connection>>> + Send
Implements super::client::DeveloperConnect::get_connection.
Sourcefn create_connection(
&self,
_req: CreateConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_connection( &self, _req: CreateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn update_connection(
&self,
_req: UpdateConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn update_connection( &self, _req: UpdateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_connection(
&self,
_req: DeleteConnectionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_connection( &self, _req: DeleteConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn create_git_repository_link(
&self,
_req: CreateGitRepositoryLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_git_repository_link( &self, _req: CreateGitRepositoryLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_git_repository_link(
&self,
_req: DeleteGitRepositoryLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_git_repository_link( &self, _req: DeleteGitRepositoryLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn list_git_repository_links(
&self,
_req: ListGitRepositoryLinksRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListGitRepositoryLinksResponse>>> + Send
fn list_git_repository_links( &self, _req: ListGitRepositoryLinksRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListGitRepositoryLinksResponse>>> + Send
Sourcefn get_git_repository_link(
&self,
_req: GetGitRepositoryLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<GitRepositoryLink>>> + Send
fn get_git_repository_link( &self, _req: GetGitRepositoryLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<GitRepositoryLink>>> + Send
Sourcefn fetch_read_write_token(
&self,
_req: FetchReadWriteTokenRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchReadWriteTokenResponse>>> + Send
fn fetch_read_write_token( &self, _req: FetchReadWriteTokenRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchReadWriteTokenResponse>>> + Send
Sourcefn fetch_read_token(
&self,
_req: FetchReadTokenRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchReadTokenResponse>>> + Send
fn fetch_read_token( &self, _req: FetchReadTokenRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchReadTokenResponse>>> + Send
Sourcefn fetch_linkable_git_repositories(
&self,
_req: FetchLinkableGitRepositoriesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchLinkableGitRepositoriesResponse>>> + Send
fn fetch_linkable_git_repositories( &self, _req: FetchLinkableGitRepositoriesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchLinkableGitRepositoriesResponse>>> + Send
Sourcefn fetch_git_hub_installations(
&self,
_req: FetchGitHubInstallationsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchGitHubInstallationsResponse>>> + Send
fn fetch_git_hub_installations( &self, _req: FetchGitHubInstallationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchGitHubInstallationsResponse>>> + Send
Sourcefn fetch_git_refs(
&self,
_req: FetchGitRefsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchGitRefsResponse>>> + Send
fn fetch_git_refs( &self, _req: FetchGitRefsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchGitRefsResponse>>> + Send
Implements super::client::DeveloperConnect::fetch_git_refs.
Sourcefn list_account_connectors(
&self,
_req: ListAccountConnectorsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAccountConnectorsResponse>>> + Send
fn list_account_connectors( &self, _req: ListAccountConnectorsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAccountConnectorsResponse>>> + Send
Sourcefn get_account_connector(
&self,
_req: GetAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<AccountConnector>>> + Send
fn get_account_connector( &self, _req: GetAccountConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AccountConnector>>> + Send
Sourcefn create_account_connector(
&self,
_req: CreateAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_account_connector( &self, _req: CreateAccountConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn update_account_connector(
&self,
_req: UpdateAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn update_account_connector( &self, _req: UpdateAccountConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_account_connector(
&self,
_req: DeleteAccountConnectorRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_account_connector( &self, _req: DeleteAccountConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn fetch_access_token(
&self,
_req: FetchAccessTokenRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<FetchAccessTokenResponse>>> + Send
fn fetch_access_token( &self, _req: FetchAccessTokenRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchAccessTokenResponse>>> + Send
Sourcefn list_users(
&self,
_req: ListUsersRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListUsersResponse>>> + Send
fn list_users( &self, _req: ListUsersRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListUsersResponse>>> + Send
Implements super::client::DeveloperConnect::list_users.
Sourcefn delete_user(
&self,
_req: DeleteUserRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_user( &self, _req: DeleteUserRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Implements super::client::DeveloperConnect::delete_user.
Sourcefn fetch_self(
&self,
_req: FetchSelfRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<User>>> + Send
fn fetch_self( &self, _req: FetchSelfRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<User>>> + Send
Implements super::client::DeveloperConnect::fetch_self.
Sourcefn delete_self(
&self,
_req: DeleteSelfRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_self( &self, _req: DeleteSelfRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Implements super::client::DeveloperConnect::delete_self.
Sourcefn list_locations(
&self,
_req: ListLocationsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send
fn list_locations( &self, _req: ListLocationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send
Implements super::client::DeveloperConnect::list_locations.
Sourcefn get_location(
&self,
_req: GetLocationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Location>>> + Send
fn get_location( &self, _req: GetLocationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Location>>> + Send
Implements super::client::DeveloperConnect::get_location.
Sourcefn list_operations(
&self,
_req: ListOperationsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send
fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send
Implements super::client::DeveloperConnect::list_operations.
Sourcefn get_operation(
&self,
_req: GetOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Implements super::client::DeveloperConnect::get_operation.
Sourcefn delete_operation(
&self,
_req: DeleteOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_operation( &self, _req: DeleteOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Sourcefn cancel_operation(
&self,
_req: CancelOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Sourcefn get_polling_error_policy(
&self,
_options: &RequestOptions,
) -> Arc<dyn PollingErrorPolicy>
fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy>
Returns the polling error policy.
When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.
Sourcefn get_polling_backoff_policy(
&self,
_options: &RequestOptions,
) -> Arc<dyn PollingBackoffPolicy>
fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy>
Returns the polling backoff policy.
When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.