rs_split_table/rdb/
insert.rs1use tonic::Status;
4
5#[tonic::async_trait]
7pub trait Insert: Sync + Send + 'static {
8 type Row: Send + Sync;
9 async fn insert_to_table(
10 &self,
11 checked_table_name: &str,
12 row: &Self::Row,
13 ) -> Result<u64, Status>;
14}