AuthorizedCertificates

Trait AuthorizedCertificates 

Source
pub trait AuthorizedCertificates:
    Debug
    + Send
    + Sync {
    // Provided methods
    fn list_authorized_certificates(
        &self,
        _req: ListAuthorizedCertificatesRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<ListAuthorizedCertificatesResponse>>> + Send { ... }
    fn get_authorized_certificate(
        &self,
        _req: GetAuthorizedCertificateRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<AuthorizedCertificate>>> + Send { ... }
    fn create_authorized_certificate(
        &self,
        _req: CreateAuthorizedCertificateRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<AuthorizedCertificate>>> + Send { ... }
    fn update_authorized_certificate(
        &self,
        _req: UpdateAuthorizedCertificateRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<AuthorizedCertificate>>> + Send { ... }
    fn delete_authorized_certificate(
        &self,
        _req: DeleteAuthorizedCertificateRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<()>>> + 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 { ... }
}
Expand description

Defines the trait used to implement super::client::AuthorizedCertificates.

Application developers may need to implement this trait to mock client::AuthorizedCertificates. In other use-cases, application developers only use client::AuthorizedCertificates 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_authorized_certificates( &self, _req: ListAuthorizedCertificatesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListAuthorizedCertificatesResponse>>> + Send

Source

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

Source

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

Source

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

Source

fn delete_authorized_certificate( &self, _req: DeleteAuthorizedCertificateRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + 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

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§