pub trait FeaturestoreService:
Debug
+ Send
+ Sync {
Show 33 methods
// Provided methods
fn create_featurestore(
&self,
_req: CreateFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn get_featurestore(
&self,
_req: GetFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Featurestore>>> + Send { ... }
fn list_featurestores(
&self,
_req: ListFeaturestoresRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListFeaturestoresResponse>>> + Send { ... }
fn update_featurestore(
&self,
_req: UpdateFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_featurestore(
&self,
_req: DeleteFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn create_entity_type(
&self,
_req: CreateEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn get_entity_type(
&self,
_req: GetEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<EntityType>>> + Send { ... }
fn list_entity_types(
&self,
_req: ListEntityTypesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListEntityTypesResponse>>> + Send { ... }
fn update_entity_type(
&self,
_req: UpdateEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<EntityType>>> + Send { ... }
fn delete_entity_type(
&self,
_req: DeleteEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn create_feature(
&self,
_req: CreateFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn batch_create_features(
&self,
_req: BatchCreateFeaturesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn get_feature(
&self,
_req: GetFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Feature>>> + Send { ... }
fn list_features(
&self,
_req: ListFeaturesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListFeaturesResponse>>> + Send { ... }
fn update_feature(
&self,
_req: UpdateFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Feature>>> + Send { ... }
fn delete_feature(
&self,
_req: DeleteFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn import_feature_values(
&self,
_req: ImportFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn batch_read_feature_values(
&self,
_req: BatchReadFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn export_feature_values(
&self,
_req: ExportFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn delete_feature_values(
&self,
_req: DeleteFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn search_features(
&self,
_req: SearchFeaturesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<SearchFeaturesResponse>>> + 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 set_iam_policy(
&self,
_req: SetIamPolicyRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Policy>>> + Send { ... }
fn get_iam_policy(
&self,
_req: GetIamPolicyRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Policy>>> + Send { ... }
fn test_iam_permissions(
&self,
_req: TestIamPermissionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + 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 wait_operation(
&self,
_req: WaitOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn get_polling_error_policy(
&self,
_options: &RequestOptions,
) -> Arc<dyn PollingErrorPolicy> { ... }
fn get_polling_backoff_policy(
&self,
_options: &RequestOptions,
) -> Arc<dyn PollingBackoffPolicy> { ... }
}featurestore-service only.Expand description
Defines the trait used to implement super::client::FeaturestoreService.
Application developers may need to implement this trait to mock
client::FeaturestoreService. In other use-cases, application developers only
use client::FeaturestoreService 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 create_featurestore(
&self,
_req: CreateFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_featurestore( &self, _req: CreateFeaturestoreRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn get_featurestore(
&self,
_req: GetFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Featurestore>>> + Send
fn get_featurestore( &self, _req: GetFeaturestoreRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Featurestore>>> + Send
Sourcefn list_featurestores(
&self,
_req: ListFeaturestoresRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListFeaturestoresResponse>>> + Send
fn list_featurestores( &self, _req: ListFeaturestoresRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFeaturestoresResponse>>> + Send
Sourcefn update_featurestore(
&self,
_req: UpdateFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn update_featurestore( &self, _req: UpdateFeaturestoreRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_featurestore(
&self,
_req: DeleteFeaturestoreRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_featurestore( &self, _req: DeleteFeaturestoreRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn create_entity_type(
&self,
_req: CreateEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_entity_type( &self, _req: CreateEntityTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn get_entity_type(
&self,
_req: GetEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<EntityType>>> + Send
fn get_entity_type( &self, _req: GetEntityTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<EntityType>>> + Send
Sourcefn list_entity_types(
&self,
_req: ListEntityTypesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListEntityTypesResponse>>> + Send
fn list_entity_types( &self, _req: ListEntityTypesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListEntityTypesResponse>>> + Send
Sourcefn update_entity_type(
&self,
_req: UpdateEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<EntityType>>> + Send
fn update_entity_type( &self, _req: UpdateEntityTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<EntityType>>> + Send
Sourcefn delete_entity_type(
&self,
_req: DeleteEntityTypeRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_entity_type( &self, _req: DeleteEntityTypeRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn create_feature(
&self,
_req: CreateFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_feature( &self, _req: CreateFeatureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn batch_create_features(
&self,
_req: BatchCreateFeaturesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn batch_create_features( &self, _req: BatchCreateFeaturesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn get_feature(
&self,
_req: GetFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Feature>>> + Send
fn get_feature( &self, _req: GetFeatureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Feature>>> + Send
Implements super::client::FeaturestoreService::get_feature.
Sourcefn list_features(
&self,
_req: ListFeaturesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListFeaturesResponse>>> + Send
fn list_features( &self, _req: ListFeaturesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFeaturesResponse>>> + Send
Sourcefn update_feature(
&self,
_req: UpdateFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Feature>>> + Send
fn update_feature( &self, _req: UpdateFeatureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Feature>>> + Send
Sourcefn delete_feature(
&self,
_req: DeleteFeatureRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_feature( &self, _req: DeleteFeatureRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn import_feature_values(
&self,
_req: ImportFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn import_feature_values( &self, _req: ImportFeatureValuesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn batch_read_feature_values(
&self,
_req: BatchReadFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn batch_read_feature_values( &self, _req: BatchReadFeatureValuesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn export_feature_values(
&self,
_req: ExportFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn export_feature_values( &self, _req: ExportFeatureValuesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn delete_feature_values(
&self,
_req: DeleteFeatureValuesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_feature_values( &self, _req: DeleteFeatureValuesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn search_features(
&self,
_req: SearchFeaturesRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<SearchFeaturesResponse>>> + Send
fn search_features( &self, _req: SearchFeaturesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<SearchFeaturesResponse>>> + 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
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::FeaturestoreService::get_location.
Sourcefn set_iam_policy(
&self,
_req: SetIamPolicyRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Policy>>> + Send
fn set_iam_policy( &self, _req: SetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send
Sourcefn get_iam_policy(
&self,
_req: GetIamPolicyRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Policy>>> + Send
fn get_iam_policy( &self, _req: GetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send
Sourcefn test_iam_permissions(
&self,
_req: TestIamPermissionsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send
fn test_iam_permissions( &self, _req: TestIamPermissionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send
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
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
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 wait_operation(
&self,
_req: WaitOperationRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn wait_operation( &self, _req: WaitOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + 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.