pub struct CatalogSvc(pub Arc<TransactorNode>);Expand description
Catalog gRPC service over a node.
Tuple Fields§
§0: Arc<TransactorNode>Trait Implementations§
Source§impl Catalog for CatalogSvc
impl Catalog for CatalogSvc
fn create_database<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDatabaseRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateDatabaseResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_database<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteDatabaseRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteDatabaseResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_databases<'life0, 'async_trait>(
&'life0 self,
_request: Request<ListDatabasesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListDatabasesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn gc_deleted_databases<'life0, 'async_trait>(
&'life0 self,
request: Request<GcDeletedDatabasesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GcDeletedDatabasesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for CatalogSvc
impl !UnwindSafe for CatalogSvc
impl Freeze for CatalogSvc
impl Send for CatalogSvc
impl Sync for CatalogSvc
impl Unpin for CatalogSvc
impl UnsafeUnpin for CatalogSvc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request