pub trait TableParseData {
type OUT: TableParseData;
// Required methods
fn new<'life0, 'async_trait>(
uri: &'life0 str,
) -> Pin<Box<dyn Future<Output = Result<Self::OUT, ConfigParseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_tables<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ConfigParseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn parse_table_column<'life0, 'life1, 'async_trait>(
&'life0 self,
table: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<DataField>, ConfigParseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Associated Types§
type OUT: TableParseData
Required Methods§
fn new<'life0, 'async_trait>(
uri: &'life0 str,
) -> Pin<Box<dyn Future<Output = Result<Self::OUT, ConfigParseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_tables<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ConfigParseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn parse_table_column<'life0, 'life1, 'async_trait>(
&'life0 self,
table: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<DataField>, ConfigParseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.