pub trait IdentityAwareProxyOAuthService:
Debug
+ Send
+ Sync {
// Provided methods
fn list_brands(
&self,
_req: ListBrandsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListBrandsResponse>>> + Send { ... }
fn create_brand(
&self,
_req: CreateBrandRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Brand>>> + Send { ... }
fn get_brand(
&self,
_req: GetBrandRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Brand>>> + Send { ... }
fn create_identity_aware_proxy_client(
&self,
_req: CreateIdentityAwareProxyClientRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send { ... }
fn list_identity_aware_proxy_clients(
&self,
_req: ListIdentityAwareProxyClientsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListIdentityAwareProxyClientsResponse>>> + Send { ... }
fn get_identity_aware_proxy_client(
&self,
_req: GetIdentityAwareProxyClientRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send { ... }
fn reset_identity_aware_proxy_client_secret(
&self,
_req: ResetIdentityAwareProxyClientSecretRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send { ... }
fn delete_identity_aware_proxy_client(
&self,
_req: DeleteIdentityAwareProxyClientRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send { ... }
}Expand description
Defines the trait used to implement super::client::IdentityAwareProxyOAuthService.
Application developers may need to implement this trait to mock
client::IdentityAwareProxyOAuthService. In other use-cases, application developers only
use client::IdentityAwareProxyOAuthService 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_brands(
&self,
_req: ListBrandsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListBrandsResponse>>> + Send
fn list_brands( &self, _req: ListBrandsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListBrandsResponse>>> + Send
Sourcefn create_brand(
&self,
_req: CreateBrandRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Brand>>> + Send
fn create_brand( &self, _req: CreateBrandRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Brand>>> + Send
Sourcefn get_brand(
&self,
_req: GetBrandRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Brand>>> + Send
fn get_brand( &self, _req: GetBrandRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Brand>>> + Send
Sourcefn create_identity_aware_proxy_client(
&self,
_req: CreateIdentityAwareProxyClientRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send
fn create_identity_aware_proxy_client( &self, _req: CreateIdentityAwareProxyClientRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send
Sourcefn list_identity_aware_proxy_clients(
&self,
_req: ListIdentityAwareProxyClientsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListIdentityAwareProxyClientsResponse>>> + Send
fn list_identity_aware_proxy_clients( &self, _req: ListIdentityAwareProxyClientsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListIdentityAwareProxyClientsResponse>>> + Send
Sourcefn get_identity_aware_proxy_client(
&self,
_req: GetIdentityAwareProxyClientRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send
fn get_identity_aware_proxy_client( &self, _req: GetIdentityAwareProxyClientRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send
Sourcefn reset_identity_aware_proxy_client_secret(
&self,
_req: ResetIdentityAwareProxyClientSecretRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send
fn reset_identity_aware_proxy_client_secret( &self, _req: ResetIdentityAwareProxyClientSecretRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IdentityAwareProxyClient>>> + Send
Sourcefn delete_identity_aware_proxy_client(
&self,
_req: DeleteIdentityAwareProxyClientRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_identity_aware_proxy_client( &self, _req: DeleteIdentityAwareProxyClientRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
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.