pub trait ExpressionNames {
// Required methods
fn column(&self, attribute: i64) -> Result<String, SQLError>;
fn routine(&self, oid: i64) -> Result<Vec<String>, SQLError>;
fn type_name(&self, oid: i64, modifier: i64) -> Result<String, SQLError>;
// Provided method
fn parameter(&self, number: i64) -> Result<String, SQLError> { ... }
}Required Methods§
fn column(&self, attribute: i64) -> Result<String, SQLError>
fn routine(&self, oid: i64) -> Result<Vec<String>, SQLError>
fn type_name(&self, oid: i64, modifier: i64) -> Result<String, SQLError>
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".