Skip to main content

TextMatchCatalog

Trait TextMatchCatalog 

Source
pub trait TextMatchCatalog {
    // Required methods
    fn has_table(&self, table: &str) -> Result<bool, String>;
    fn has_column(&self, table: &str, column: &str) -> Result<bool, String>;
    fn column_names(&self, table: &str) -> Result<Vec<String>, String>;
    fn indexed_fields(&self, table: &str) -> Result<Vec<String>, SQLError>;
}

Required Methods§

Source

fn has_table(&self, table: &str) -> Result<bool, String>

Source

fn has_column(&self, table: &str, column: &str) -> Result<bool, String>

Source

fn column_names(&self, table: &str) -> Result<Vec<String>, String>

Source

fn indexed_fields(&self, table: &str) -> Result<Vec<String>, SQLError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§