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,
Source§fn fork_database<'life0, 'async_trait>(
&'life0 self,
request: Request<ForkDatabaseRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ForkDatabaseResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fork_database<'life0, 'async_trait>(
&'life0 self,
request: Request<ForkDatabaseRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ForkDatabaseResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new database duplicating an existing one at a transaction
basis (point-in-time fork).
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,
Source§fn request_index<'life0, 'async_trait>(
&'life0 self,
request: Request<RequestIndexRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RequestIndexResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_index<'life0, 'async_trait>(
&'life0 self,
request: Request<RequestIndexRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RequestIndexResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Publishes the database’s covering indexes now, bypassing pacing.
Source§fn set_index_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<SetIndexPolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetIndexPolicyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_index_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<SetIndexPolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetIndexPolicyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Adjusts (or reads) the database’s index-publication pacing at runtime.
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