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§
Sourcefn database_product_name(&self) -> &str
fn database_product_name(&self) -> &str
Retrieves the name of this database product. May contain additional information about editions.
Sourcefn database_version(&self) -> &str
fn database_version(&self) -> &str
Retrieves the version number of this database product.