Skip to main content

Hints

Trait Hints 

Source
pub trait Hints: Dialect {
    // Required method
    fn hint(b: &mut Builder<Self>, hint: &str) -> Result<()>;
}
Expand description

Optimizer hints.

Required Methods§

Source

fn hint(b: &mut Builder<Self>, hint: &str) -> Result<()>

Adds a hint, validated by the dialect.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§