pub trait ParserExtension:
Send
+ Sync
+ Debug {
// Provided methods
fn name(&self) -> &'static str { ... }
fn transform(&self, _query_text: &str) -> Option<DBResult<String>> { ... }
}Expand description
Rewrite the raw query text before parsing.
Return None to decline (builtin parsing proceeds).
Provided Methods§
fn name(&self) -> &'static str
fn transform(&self, _query_text: &str) -> Option<DBResult<String>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".