pub trait NamespaceAdmin:
Send
+ Sync
+ 'static {
// Required methods
fn get_namespace_topics<'life0, 'async_trait>(
&'life0 self,
request: Request<NamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TopicListResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_namespace_policies<'life0, 'async_trait>(
&'life0 self,
request: Request<NamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PolicyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_namespace<'life0, 'async_trait>(
&'life0 self,
request: Request<NamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NamespaceResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_namespace<'life0, 'async_trait>(
&'life0 self,
request: Request<NamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NamespaceResponse>, 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 NamespaceAdminServer.
Required Methods§
Sourcefn get_namespace_topics<'life0, 'async_trait>(
&'life0 self,
request: Request<NamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TopicListResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_namespace_topics<'life0, 'async_trait>(
&'life0 self,
request: Request<NamespaceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TopicListResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Namespace related RPCs