Skip to main content

PersistentComputeService

Trait PersistentComputeService 

Source
pub trait PersistentComputeService<I: Iterator<Item = Result<Bytes, Error>>> {
    // Required method
    fn is_enabled(
        &self,
        auth_: &BearerToken,
    ) -> Result<IsEnabledResponse, Error>;
}
Expand description

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

Required Methods§

Source

fn is_enabled(&self, auth_: &BearerToken) -> Result<IsEnabledResponse, Error>

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

Implementors§

Source§

impl<I: Iterator<Item = Result<Bytes, Error>>, __C> PersistentComputeService<I> for PersistentComputeServiceClient<__C>
where __C: Client<ResponseBody = I>,