pub trait Introspector {
// Required method
async fn introspect(
&self,
options: &IntrospectionOptions,
) -> CliResult<DatabaseSchema>;
}Expand description
Database introspector trait.
Required Methods§
Sourceasync fn introspect(
&self,
options: &IntrospectionOptions,
) -> CliResult<DatabaseSchema>
async fn introspect( &self, options: &IntrospectionOptions, ) -> CliResult<DatabaseSchema>
Introspect the database and return schema information.
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.