Introspector

Trait Introspector 

Source
pub trait Introspector {
    // Required method
    async fn introspect(
        &self,
        options: &IntrospectionOptions,
    ) -> CliResult<DatabaseSchema>;
}
Expand description

Database introspector trait.

Required Methods§

Source

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.

Implementors§