Trait OperationsApi
Source pub trait OperationsApi: Send + Sync {
// Required methods
fn retrieve_api_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ApiStatsResponse, Error<RetrieveApiStatsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn retrieve_metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Value, Error<RetrieveMetricsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn take_snapshot<'life0, 'async_trait>(
&'life0 self,
params: TakeSnapshotParams,
) -> Pin<Box<dyn Future<Output = Result<SuccessStatus, Error<TakeSnapshotError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn vote<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SuccessStatus, Error<VoteError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}