pub trait RankedFunctionMatch {
// Required methods
fn argument_types(&self) -> &[String];
fn raw_exact_matches(&self) -> usize;
fn exact_matches(&self) -> usize;
fn preferred_matches(&self) -> usize;
// Provided method
fn is_variadic_expansion(&self) -> bool { ... }
}Expand description
Candidate information used by PostgreSQL’s exact-match, preferred-type, and unknown-category ranking passes.
Required Methods§
fn argument_types(&self) -> &[String]
fn raw_exact_matches(&self) -> usize
fn exact_matches(&self) -> usize
fn preferred_matches(&self) -> usize
Provided Methods§
fn is_variadic_expansion(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".