pub trait UptimeCheckService:
    Debug
    + Send
    + Sync {
    // Provided methods
    fn list_uptime_check_configs(
        &self,
        _req: ListUptimeCheckConfigsRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<ListUptimeCheckConfigsResponse>> + Send { ... }
    fn get_uptime_check_config(
        &self,
        _req: GetUptimeCheckConfigRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<UptimeCheckConfig>> + Send { ... }
    fn create_uptime_check_config(
        &self,
        _req: CreateUptimeCheckConfigRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<UptimeCheckConfig>> + Send { ... }
    fn update_uptime_check_config(
        &self,
        _req: UpdateUptimeCheckConfigRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<UptimeCheckConfig>> + Send { ... }
    fn delete_uptime_check_config(
        &self,
        _req: DeleteUptimeCheckConfigRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Empty>> + Send { ... }
    fn list_uptime_check_ips(
        &self,
        _req: ListUptimeCheckIpsRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<ListUptimeCheckIpsResponse>> + Send { ... }
}Expand description
Defines the trait used to implement crate::client::UptimeCheckService.
Application developers may need to implement this trait to mock
client::UptimeCheckService.  In other use-cases, application developers only
use client::UptimeCheckService 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_uptime_check_configs(
    &self,
    _req: ListUptimeCheckConfigsRequest,
    _options: RequestOptions,
) -> impl Future<Output = Result<ListUptimeCheckConfigsResponse>> + Send
 
fn list_uptime_check_configs( &self, _req: ListUptimeCheckConfigsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<ListUptimeCheckConfigsResponse>> + Send
Sourcefn get_uptime_check_config(
    &self,
    _req: GetUptimeCheckConfigRequest,
    _options: RequestOptions,
) -> impl Future<Output = Result<UptimeCheckConfig>> + Send
 
fn get_uptime_check_config( &self, _req: GetUptimeCheckConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<UptimeCheckConfig>> + Send
Sourcefn create_uptime_check_config(
    &self,
    _req: CreateUptimeCheckConfigRequest,
    _options: RequestOptions,
) -> impl Future<Output = Result<UptimeCheckConfig>> + Send
 
fn create_uptime_check_config( &self, _req: CreateUptimeCheckConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<UptimeCheckConfig>> + Send
Sourcefn update_uptime_check_config(
    &self,
    _req: UpdateUptimeCheckConfigRequest,
    _options: RequestOptions,
) -> impl Future<Output = Result<UptimeCheckConfig>> + Send
 
fn update_uptime_check_config( &self, _req: UpdateUptimeCheckConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<UptimeCheckConfig>> + Send
Sourcefn delete_uptime_check_config(
    &self,
    _req: DeleteUptimeCheckConfigRequest,
    _options: RequestOptions,
) -> impl Future<Output = Result<Empty>> + Send
 
fn delete_uptime_check_config( &self, _req: DeleteUptimeCheckConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Empty>> + Send
Sourcefn list_uptime_check_ips(
    &self,
    _req: ListUptimeCheckIpsRequest,
    _options: RequestOptions,
) -> impl Future<Output = Result<ListUptimeCheckIpsResponse>> + Send
 
fn list_uptime_check_ips( &self, _req: ListUptimeCheckIpsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<ListUptimeCheckIpsResponse>> + 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.