pub trait ScsControl: Send + Sync + 'static {
Show 13 methods // Required methods fn create_cache<'life0, 'async_trait>( &'life0 self, request: Request<CreateCacheRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateCacheResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_cache<'life0, 'async_trait>( &'life0 self, request: Request<DeleteCacheRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteCacheResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_caches<'life0, 'async_trait>( &'life0 self, request: Request<ListCachesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListCachesResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn flush_cache<'life0, 'async_trait>( &'life0 self, request: Request<FlushCacheRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<FlushCacheResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_signing_key<'life0, 'async_trait>( &'life0 self, request: Request<CreateSigningKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateSigningKeyResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn revoke_signing_key<'life0, 'async_trait>( &'life0 self, request: Request<RevokeSigningKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RevokeSigningKeyResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_signing_keys<'life0, 'async_trait>( &'life0 self, request: Request<ListSigningKeysRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListSigningKeysResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_index<'life0, 'async_trait>( &'life0 self, request: Request<CreateIndexRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateIndexResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_index<'life0, 'async_trait>( &'life0 self, request: Request<DeleteIndexRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteIndexResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_indexes<'life0, 'async_trait>( &'life0 self, request: Request<ListIndexesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListIndexesResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_store<'life0, 'async_trait>( &'life0 self, request: Request<CreateStoreRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateStoreResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_store<'life0, 'async_trait>( &'life0 self, request: Request<DeleteStoreRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteStoreResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_stores<'life0, 'async_trait>( &'life0 self, request: Request<ListStoresRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListStoresResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with ScsControlServer.

Required Methods§

source

fn create_cache<'life0, 'async_trait>( &'life0 self, request: Request<CreateCacheRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateCacheResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_cache<'life0, 'async_trait>( &'life0 self, request: Request<DeleteCacheRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteCacheResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_caches<'life0, 'async_trait>( &'life0 self, request: Request<ListCachesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListCachesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn flush_cache<'life0, 'async_trait>( &'life0 self, request: Request<FlushCacheRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<FlushCacheResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn create_signing_key<'life0, 'async_trait>( &'life0 self, request: Request<CreateSigningKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateSigningKeyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn revoke_signing_key<'life0, 'async_trait>( &'life0 self, request: Request<RevokeSigningKeyRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RevokeSigningKeyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_signing_keys<'life0, 'async_trait>( &'life0 self, request: Request<ListSigningKeysRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListSigningKeysResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn create_index<'life0, 'async_trait>( &'life0 self, request: Request<CreateIndexRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateIndexResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_index<'life0, 'async_trait>( &'life0 self, request: Request<DeleteIndexRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteIndexResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_indexes<'life0, 'async_trait>( &'life0 self, request: Request<ListIndexesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListIndexesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn create_store<'life0, 'async_trait>( &'life0 self, request: Request<CreateStoreRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CreateStoreResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_store<'life0, 'async_trait>( &'life0 self, request: Request<DeleteStoreRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteStoreResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_stores<'life0, 'async_trait>( &'life0 self, request: Request<ListStoresRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListStoresResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§