pub trait DataSource:
Sync
+ Send
+ 'static {
type Row;
type Rows: Stream<Item = Result<Self::Row, Status>>;
// Required method
fn get_rows<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Rows, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Tries to get rows.