Trait ConnectionMetadata

Source
pub trait ConnectionMetadata {
    // Required methods
    fn database_product_name(&self) -> &str;
    fn database_version(&self) -> &str;
}
Expand description

Metadata about the product a Connection is connected to.

Required Methods§

Source

fn database_product_name(&self) -> &str

Retrieves the name of this database product. May contain additional information about editions.

Source

fn database_version(&self) -> &str

Retrieves the version number of this database product.

Implementors§