pub trait OracleDatabase:
Debug
+ Send
+ Sync {
Show 33 methods
// Provided methods
fn list_cloud_exadata_infrastructures(
&self,
_req: ListCloudExadataInfrastructuresRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListCloudExadataInfrastructuresResponse>>> + Send { ... }
fn get_cloud_exadata_infrastructure(
&self,
_req: GetCloudExadataInfrastructureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CloudExadataInfrastructure>>> + Send { ... }
fn create_cloud_exadata_infrastructure(
&self,
_req: CreateCloudExadataInfrastructureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_cloud_exadata_infrastructure(
&self,
_req: DeleteCloudExadataInfrastructureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn list_cloud_vm_clusters(
&self,
_req: ListCloudVmClustersRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListCloudVmClustersResponse>>> + Send { ... }
fn get_cloud_vm_cluster(
&self,
_req: GetCloudVmClusterRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CloudVmCluster>>> + Send { ... }
fn create_cloud_vm_cluster(
&self,
_req: CreateCloudVmClusterRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_cloud_vm_cluster(
&self,
_req: DeleteCloudVmClusterRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn list_entitlements(
&self,
_req: ListEntitlementsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListEntitlementsResponse>>> + Send { ... }
fn list_db_servers(
&self,
_req: ListDbServersRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListDbServersResponse>>> + Send { ... }
fn list_db_nodes(
&self,
_req: ListDbNodesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListDbNodesResponse>>> + Send { ... }
fn list_gi_versions(
&self,
_req: ListGiVersionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListGiVersionsResponse>>> + Send { ... }
fn list_db_system_shapes(
&self,
_req: ListDbSystemShapesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListDbSystemShapesResponse>>> + Send { ... }
fn list_autonomous_databases(
&self,
_req: ListAutonomousDatabasesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDatabasesResponse>>> + Send { ... }
fn get_autonomous_database(
&self,
_req: GetAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<AutonomousDatabase>>> + Send { ... }
fn create_autonomous_database(
&self,
_req: CreateAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_autonomous_database(
&self,
_req: DeleteAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn restore_autonomous_database(
&self,
_req: RestoreAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn generate_autonomous_database_wallet(
&self,
_req: GenerateAutonomousDatabaseWalletRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<GenerateAutonomousDatabaseWalletResponse>>> + Send { ... }
fn list_autonomous_db_versions(
&self,
_req: ListAutonomousDbVersionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDbVersionsResponse>>> + Send { ... }
fn list_autonomous_database_character_sets(
&self,
_req: ListAutonomousDatabaseCharacterSetsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDatabaseCharacterSetsResponse>>> + Send { ... }
fn list_autonomous_database_backups(
&self,
_req: ListAutonomousDatabaseBackupsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDatabaseBackupsResponse>>> + Send { ... }
fn stop_autonomous_database(
&self,
_req: StopAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn start_autonomous_database(
&self,
_req: StartAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn restart_autonomous_database(
&self,
_req: RestartAutonomousDatabaseRequest,
_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::OracleDatabase.
Application developers may need to implement this trait to mock
client::OracleDatabase
. In other use-cases, application developers only
use client::OracleDatabase
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_cloud_exadata_infrastructures(
&self,
_req: ListCloudExadataInfrastructuresRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListCloudExadataInfrastructuresResponse>>> + Send
fn list_cloud_exadata_infrastructures( &self, _req: ListCloudExadataInfrastructuresRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCloudExadataInfrastructuresResponse>>> + Send
Sourcefn get_cloud_exadata_infrastructure(
&self,
_req: GetCloudExadataInfrastructureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CloudExadataInfrastructure>>> + Send
fn get_cloud_exadata_infrastructure( &self, _req: GetCloudExadataInfrastructureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CloudExadataInfrastructure>>> + Send
Sourcefn create_cloud_exadata_infrastructure(
&self,
_req: CreateCloudExadataInfrastructureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_cloud_exadata_infrastructure( &self, _req: CreateCloudExadataInfrastructureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_cloud_exadata_infrastructure(
&self,
_req: DeleteCloudExadataInfrastructureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_cloud_exadata_infrastructure( &self, _req: DeleteCloudExadataInfrastructureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn list_cloud_vm_clusters(
&self,
_req: ListCloudVmClustersRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListCloudVmClustersResponse>>> + Send
fn list_cloud_vm_clusters( &self, _req: ListCloudVmClustersRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCloudVmClustersResponse>>> + Send
Sourcefn get_cloud_vm_cluster(
&self,
_req: GetCloudVmClusterRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CloudVmCluster>>> + Send
fn get_cloud_vm_cluster( &self, _req: GetCloudVmClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CloudVmCluster>>> + Send
Sourcefn create_cloud_vm_cluster(
&self,
_req: CreateCloudVmClusterRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_cloud_vm_cluster( &self, _req: CreateCloudVmClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_cloud_vm_cluster(
&self,
_req: DeleteCloudVmClusterRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_cloud_vm_cluster( &self, _req: DeleteCloudVmClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn list_entitlements(
&self,
_req: ListEntitlementsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListEntitlementsResponse>>> + Send
fn list_entitlements( &self, _req: ListEntitlementsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListEntitlementsResponse>>> + Send
Implements super::client::OracleDatabase::list_entitlements.
Sourcefn list_db_servers(
&self,
_req: ListDbServersRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListDbServersResponse>>> + Send
fn list_db_servers( &self, _req: ListDbServersRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDbServersResponse>>> + Send
Implements super::client::OracleDatabase::list_db_servers.
Sourcefn list_db_nodes(
&self,
_req: ListDbNodesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListDbNodesResponse>>> + Send
fn list_db_nodes( &self, _req: ListDbNodesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDbNodesResponse>>> + Send
Implements super::client::OracleDatabase::list_db_nodes.
Sourcefn list_gi_versions(
&self,
_req: ListGiVersionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListGiVersionsResponse>>> + Send
fn list_gi_versions( &self, _req: ListGiVersionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListGiVersionsResponse>>> + Send
Implements super::client::OracleDatabase::list_gi_versions.
Sourcefn list_db_system_shapes(
&self,
_req: ListDbSystemShapesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListDbSystemShapesResponse>>> + Send
fn list_db_system_shapes( &self, _req: ListDbSystemShapesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListDbSystemShapesResponse>>> + Send
Sourcefn list_autonomous_databases(
&self,
_req: ListAutonomousDatabasesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDatabasesResponse>>> + Send
fn list_autonomous_databases( &self, _req: ListAutonomousDatabasesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutonomousDatabasesResponse>>> + Send
Sourcefn get_autonomous_database(
&self,
_req: GetAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<AutonomousDatabase>>> + Send
fn get_autonomous_database( &self, _req: GetAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<AutonomousDatabase>>> + Send
Sourcefn create_autonomous_database(
&self,
_req: CreateAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_autonomous_database( &self, _req: CreateAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_autonomous_database(
&self,
_req: DeleteAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_autonomous_database( &self, _req: DeleteAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn restore_autonomous_database(
&self,
_req: RestoreAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn restore_autonomous_database( &self, _req: RestoreAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn generate_autonomous_database_wallet(
&self,
_req: GenerateAutonomousDatabaseWalletRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<GenerateAutonomousDatabaseWalletResponse>>> + Send
fn generate_autonomous_database_wallet( &self, _req: GenerateAutonomousDatabaseWalletRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<GenerateAutonomousDatabaseWalletResponse>>> + Send
Sourcefn list_autonomous_db_versions(
&self,
_req: ListAutonomousDbVersionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDbVersionsResponse>>> + Send
fn list_autonomous_db_versions( &self, _req: ListAutonomousDbVersionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutonomousDbVersionsResponse>>> + Send
Sourcefn list_autonomous_database_character_sets(
&self,
_req: ListAutonomousDatabaseCharacterSetsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDatabaseCharacterSetsResponse>>> + Send
fn list_autonomous_database_character_sets( &self, _req: ListAutonomousDatabaseCharacterSetsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutonomousDatabaseCharacterSetsResponse>>> + Send
Sourcefn list_autonomous_database_backups(
&self,
_req: ListAutonomousDatabaseBackupsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListAutonomousDatabaseBackupsResponse>>> + Send
fn list_autonomous_database_backups( &self, _req: ListAutonomousDatabaseBackupsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAutonomousDatabaseBackupsResponse>>> + Send
Sourcefn stop_autonomous_database(
&self,
_req: StopAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn stop_autonomous_database( &self, _req: StopAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn start_autonomous_database(
&self,
_req: StartAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn start_autonomous_database( &self, _req: StartAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn restart_autonomous_database(
&self,
_req: RestartAutonomousDatabaseRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn restart_autonomous_database( &self, _req: RestartAutonomousDatabaseRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
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::OracleDatabase::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::OracleDatabase::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::OracleDatabase::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::OracleDatabase::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
Implements super::client::OracleDatabase::delete_operation.
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
Implements super::client::OracleDatabase::cancel_operation.
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.