Trait AsyncPersistentComputeService

Source
pub trait AsyncPersistentComputeService {
    // Required method
    fn is_enabled(
        &self,
        auth_: BearerToken,
    ) -> impl Future<Output = Result<IsEnabledResponse, Error>> + Send;
}
Expand description

Exposes a simple endpoints for checking whether or not persistent compute is enabled.

Required Methods§

Source

fn is_enabled( &self, auth_: BearerToken, ) -> impl Future<Output = Result<IsEnabledResponse, Error>> + Send

Simple “ping” like endpoint to see if the service is enabled (and available).

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§