pub trait ConfigServiceV2:
Debug
+ Send
+ Sync {
Show 37 methods
// Provided methods
fn list_buckets(
&self,
_req: ListBucketsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListBucketsResponse>>> + Send { ... }
fn get_bucket(
&self,
_req: GetBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogBucket>>> + Send { ... }
fn create_bucket_async(
&self,
_req: CreateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn update_bucket_async(
&self,
_req: UpdateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn create_bucket(
&self,
_req: CreateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogBucket>>> + Send { ... }
fn update_bucket(
&self,
_req: UpdateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogBucket>>> + Send { ... }
fn delete_bucket(
&self,
_req: DeleteBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn undelete_bucket(
&self,
_req: UndeleteBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn list_views(
&self,
_req: ListViewsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListViewsResponse>>> + Send { ... }
fn get_view(
&self,
_req: GetViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogView>>> + Send { ... }
fn create_view(
&self,
_req: CreateViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogView>>> + Send { ... }
fn update_view(
&self,
_req: UpdateViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogView>>> + Send { ... }
fn delete_view(
&self,
_req: DeleteViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn list_sinks(
&self,
_req: ListSinksRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListSinksResponse>>> + Send { ... }
fn get_sink(
&self,
_req: GetSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogSink>>> + Send { ... }
fn create_sink(
&self,
_req: CreateSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogSink>>> + Send { ... }
fn update_sink(
&self,
_req: UpdateSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogSink>>> + Send { ... }
fn delete_sink(
&self,
_req: DeleteSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn create_link(
&self,
_req: CreateLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_link(
&self,
_req: DeleteLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn list_links(
&self,
_req: ListLinksRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListLinksResponse>>> + Send { ... }
fn get_link(
&self,
_req: GetLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Link>>> + Send { ... }
fn list_exclusions(
&self,
_req: ListExclusionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListExclusionsResponse>>> + Send { ... }
fn get_exclusion(
&self,
_req: GetExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogExclusion>>> + Send { ... }
fn create_exclusion(
&self,
_req: CreateExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogExclusion>>> + Send { ... }
fn update_exclusion(
&self,
_req: UpdateExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogExclusion>>> + Send { ... }
fn delete_exclusion(
&self,
_req: DeleteExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
fn get_cmek_settings(
&self,
_req: GetCmekSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CmekSettings>>> + Send { ... }
fn update_cmek_settings(
&self,
_req: UpdateCmekSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CmekSettings>>> + Send { ... }
fn get_settings(
&self,
_req: GetSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Settings>>> + Send { ... }
fn update_settings(
&self,
_req: UpdateSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Settings>>> + Send { ... }
fn copy_log_entries(
&self,
_req: CopyLogEntriesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + 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 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::ConfigServiceV2.
Application developers may need to implement this trait to mock
client::ConfigServiceV2. In other use-cases, application developers only
use client::ConfigServiceV2 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_buckets(
&self,
_req: ListBucketsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListBucketsResponse>>> + Send
fn list_buckets( &self, _req: ListBucketsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListBucketsResponse>>> + Send
Implements super::client::ConfigServiceV2::list_buckets.
Sourcefn get_bucket(
&self,
_req: GetBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogBucket>>> + Send
fn get_bucket( &self, _req: GetBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send
Implements super::client::ConfigServiceV2::get_bucket.
Sourcefn create_bucket_async(
&self,
_req: CreateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_bucket_async( &self, _req: CreateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn update_bucket_async(
&self,
_req: UpdateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn update_bucket_async( &self, _req: UpdateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn create_bucket(
&self,
_req: CreateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogBucket>>> + Send
fn create_bucket( &self, _req: CreateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send
Implements super::client::ConfigServiceV2::create_bucket.
Sourcefn update_bucket(
&self,
_req: UpdateBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogBucket>>> + Send
fn update_bucket( &self, _req: UpdateBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogBucket>>> + Send
Implements super::client::ConfigServiceV2::update_bucket.
Sourcefn delete_bucket(
&self,
_req: DeleteBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_bucket( &self, _req: DeleteBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Implements super::client::ConfigServiceV2::delete_bucket.
Sourcefn undelete_bucket(
&self,
_req: UndeleteBucketRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn undelete_bucket( &self, _req: UndeleteBucketRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Implements super::client::ConfigServiceV2::undelete_bucket.
Sourcefn list_views(
&self,
_req: ListViewsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListViewsResponse>>> + Send
fn list_views( &self, _req: ListViewsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListViewsResponse>>> + Send
Implements super::client::ConfigServiceV2::list_views.
Sourcefn get_view(
&self,
_req: GetViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogView>>> + Send
fn get_view( &self, _req: GetViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send
Implements super::client::ConfigServiceV2::get_view.
Sourcefn create_view(
&self,
_req: CreateViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogView>>> + Send
fn create_view( &self, _req: CreateViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send
Implements super::client::ConfigServiceV2::create_view.
Sourcefn update_view(
&self,
_req: UpdateViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogView>>> + Send
fn update_view( &self, _req: UpdateViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogView>>> + Send
Implements super::client::ConfigServiceV2::update_view.
Sourcefn delete_view(
&self,
_req: DeleteViewRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_view( &self, _req: DeleteViewRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Implements super::client::ConfigServiceV2::delete_view.
Sourcefn list_sinks(
&self,
_req: ListSinksRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListSinksResponse>>> + Send
fn list_sinks( &self, _req: ListSinksRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListSinksResponse>>> + Send
Implements super::client::ConfigServiceV2::list_sinks.
Sourcefn get_sink(
&self,
_req: GetSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogSink>>> + Send
fn get_sink( &self, _req: GetSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send
Implements super::client::ConfigServiceV2::get_sink.
Sourcefn create_sink(
&self,
_req: CreateSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogSink>>> + Send
fn create_sink( &self, _req: CreateSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send
Implements super::client::ConfigServiceV2::create_sink.
Sourcefn update_sink(
&self,
_req: UpdateSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogSink>>> + Send
fn update_sink( &self, _req: UpdateSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogSink>>> + Send
Implements super::client::ConfigServiceV2::update_sink.
Sourcefn delete_sink(
&self,
_req: DeleteSinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_sink( &self, _req: DeleteSinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Implements super::client::ConfigServiceV2::delete_sink.
Sourcefn create_link(
&self,
_req: CreateLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_link( &self, _req: CreateLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Implements super::client::ConfigServiceV2::create_link.
Sourcefn delete_link(
&self,
_req: DeleteLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_link( &self, _req: DeleteLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Implements super::client::ConfigServiceV2::delete_link.
Sourcefn list_links(
&self,
_req: ListLinksRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListLinksResponse>>> + Send
fn list_links( &self, _req: ListLinksRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLinksResponse>>> + Send
Implements super::client::ConfigServiceV2::list_links.
Sourcefn get_link(
&self,
_req: GetLinkRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Link>>> + Send
fn get_link( &self, _req: GetLinkRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Link>>> + Send
Implements super::client::ConfigServiceV2::get_link.
Sourcefn list_exclusions(
&self,
_req: ListExclusionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListExclusionsResponse>>> + Send
fn list_exclusions( &self, _req: ListExclusionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListExclusionsResponse>>> + Send
Implements super::client::ConfigServiceV2::list_exclusions.
Sourcefn get_exclusion(
&self,
_req: GetExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogExclusion>>> + Send
fn get_exclusion( &self, _req: GetExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send
Implements super::client::ConfigServiceV2::get_exclusion.
Sourcefn create_exclusion(
&self,
_req: CreateExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogExclusion>>> + Send
fn create_exclusion( &self, _req: CreateExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send
Implements super::client::ConfigServiceV2::create_exclusion.
Sourcefn update_exclusion(
&self,
_req: UpdateExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<LogExclusion>>> + Send
fn update_exclusion( &self, _req: UpdateExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<LogExclusion>>> + Send
Implements super::client::ConfigServiceV2::update_exclusion.
Sourcefn delete_exclusion(
&self,
_req: DeleteExclusionRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_exclusion( &self, _req: DeleteExclusionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Implements super::client::ConfigServiceV2::delete_exclusion.
Sourcefn get_cmek_settings(
&self,
_req: GetCmekSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CmekSettings>>> + Send
fn get_cmek_settings( &self, _req: GetCmekSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CmekSettings>>> + Send
Sourcefn update_cmek_settings(
&self,
_req: UpdateCmekSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<CmekSettings>>> + Send
fn update_cmek_settings( &self, _req: UpdateCmekSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<CmekSettings>>> + Send
Sourcefn get_settings(
&self,
_req: GetSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Settings>>> + Send
fn get_settings( &self, _req: GetSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Settings>>> + Send
Implements super::client::ConfigServiceV2::get_settings.
Sourcefn update_settings(
&self,
_req: UpdateSettingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Settings>>> + Send
fn update_settings( &self, _req: UpdateSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Settings>>> + Send
Implements super::client::ConfigServiceV2::update_settings.
Sourcefn copy_log_entries(
&self,
_req: CopyLogEntriesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn copy_log_entries( &self, _req: CopyLogEntriesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Implements super::client::ConfigServiceV2::copy_log_entries.
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::ConfigServiceV2::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::ConfigServiceV2::get_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::ConfigServiceV2::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.