ManagedKafkaConnect

Trait ManagedKafkaConnect 

Source
pub trait ManagedKafkaConnect:
    Debug
    + Send
    + Sync {
Show 22 methods // Provided methods fn list_connect_clusters( &self, _req: ListConnectClustersRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectClustersResponse>>> + Send { ... } fn get_connect_cluster( &self, _req: GetConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ConnectCluster>>> + Send { ... } fn create_connect_cluster( &self, _req: CreateConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_connect_cluster( &self, _req: UpdateConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_connect_cluster( &self, _req: DeleteConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn list_connectors( &self, _req: ListConnectorsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectorsResponse>>> + Send { ... } fn get_connector( &self, _req: GetConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connector>>> + Send { ... } fn create_connector( &self, _req: CreateConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connector>>> + Send { ... } fn update_connector( &self, _req: UpdateConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connector>>> + Send { ... } fn delete_connector( &self, _req: DeleteConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn pause_connector( &self, _req: PauseConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<PauseConnectorResponse>>> + Send { ... } fn resume_connector( &self, _req: ResumeConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ResumeConnectorResponse>>> + Send { ... } fn restart_connector( &self, _req: RestartConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<RestartConnectorResponse>>> + Send { ... } fn stop_connector( &self, _req: StopConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<StopConnectorResponse>>> + 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::ManagedKafkaConnect.

Application developers may need to implement this trait to mock client::ManagedKafkaConnect. In other use-cases, application developers only use client::ManagedKafkaConnect 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§

Source

fn list_connect_clusters( &self, _req: ListConnectClustersRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectClustersResponse>>> + Send

Source

fn get_connect_cluster( &self, _req: GetConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ConnectCluster>>> + Send

Source

fn create_connect_cluster( &self, _req: CreateConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_connect_cluster( &self, _req: UpdateConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_connect_cluster( &self, _req: DeleteConnectClusterRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn list_connectors( &self, _req: ListConnectorsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectorsResponse>>> + Send

Source

fn get_connector( &self, _req: GetConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connector>>> + Send

Source

fn create_connector( &self, _req: CreateConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connector>>> + Send

Source

fn update_connector( &self, _req: UpdateConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Connector>>> + Send

Source

fn delete_connector( &self, _req: DeleteConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn pause_connector( &self, _req: PauseConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<PauseConnectorResponse>>> + Send

Source

fn resume_connector( &self, _req: ResumeConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ResumeConnectorResponse>>> + Send

Source

fn restart_connector( &self, _req: RestartConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<RestartConnectorResponse>>> + Send

Source

fn stop_connector( &self, _req: StopConnectorRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<StopConnectorResponse>>> + Send

Source

fn list_locations( &self, _req: ListLocationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send

Source

fn get_location( &self, _req: GetLocationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Location>>> + Send

Source

fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send

Source

fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_operation( &self, _req: DeleteOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

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.

Source

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.

Implementors§