Skip to main content

InformationSchemaTableFactory

Trait InformationSchemaTableFactory 

Source
pub trait InformationSchemaTableFactory {
    // Required method
    fn make_information_table(
        &self,
        req: MakeInformationTableRequest,
    ) -> InformationTableRef;
}
Expand description

A factory trait for making information schema tables.

This trait allows for extensibility of the information schema by providing a way to dynamically create custom information schema tables.

Required Methods§

Source

fn make_information_table( &self, req: MakeInformationTableRequest, ) -> InformationTableRef

Creates a table whose scope is declared by its InformationTable implementation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§