pub trait BlueGreenDeploymentsService:
Debug
+ Send
+ Sync {
// Provided methods
fn create_blue_green_deployment(
&self,
_req: CreateBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn get_blue_green_deployment(
&self,
_req: GetBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<BlueGreenDeployment>>> + Send { ... }
fn switchover_blue_green_deployment(
&self,
_req: SwitchoverBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
fn list_blue_green_deployments(
&self,
_req: ListBlueGreenDeploymentsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListBlueGreenDeploymentsResponse>>> + Send { ... }
fn delete_blue_green_deployment(
&self,
_req: DeleteBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send { ... }
}Expand description
Defines the trait used to implement super::client::BlueGreenDeploymentsService.
Application developers may need to implement this trait to mock
client::BlueGreenDeploymentsService. In other use-cases, application developers only
use client::BlueGreenDeploymentsService 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_blue_green_deployment(
&self,
_req: CreateBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn create_blue_green_deployment( &self, _req: CreateBlueGreenDeploymentRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn get_blue_green_deployment(
&self,
_req: GetBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<BlueGreenDeployment>>> + Send
fn get_blue_green_deployment( &self, _req: GetBlueGreenDeploymentRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<BlueGreenDeployment>>> + Send
Sourcefn switchover_blue_green_deployment(
&self,
_req: SwitchoverBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn switchover_blue_green_deployment( &self, _req: SwitchoverBlueGreenDeploymentRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Sourcefn list_blue_green_deployments(
&self,
_req: ListBlueGreenDeploymentsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListBlueGreenDeploymentsResponse>>> + Send
fn list_blue_green_deployments( &self, _req: ListBlueGreenDeploymentsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListBlueGreenDeploymentsResponse>>> + Send
Sourcefn delete_blue_green_deployment(
&self,
_req: DeleteBlueGreenDeploymentRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Operation>>> + Send
fn delete_blue_green_deployment( &self, _req: DeleteBlueGreenDeploymentRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".