rs_split_table/rdb/
create.rs

1//! Traits to create a table.
2
3use tonic::Status;
4
5/// Creates a table with the specified name.
6#[tonic::async_trait]
7pub trait CreateTable: Sync + Send + 'static {
8    async fn create(&self, name: &str) -> Result<(), Status>;
9}