pub trait FlowTableSource:
Send
+ Sync
+ Debug {
// Required methods
fn table_name_from_id<'life0, 'life1, 'async_trait>(
&'life0 self,
table_id: &'life1 TableId,
) -> Pin<Box<dyn Future<Output = Result<[String; 3], Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn table_id_from_name<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 [String; 3],
) -> Pin<Box<dyn Future<Output = Result<TableId, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn table_from_id<'life0, 'life1, 'async_trait>(
&'life0 self,
table_id: &'life1 TableId,
) -> Pin<Box<dyn Future<Output = Result<TableDesc, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided method
fn table<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 [String; 3],
) -> Pin<Box<dyn Future<Output = Result<TableDesc, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Expand description
Table source but for flow, provide table schema by table name/id