pub trait ExplainParser:
Send
+ Sync
+ Debug {
// Required method
fn parse(&self, raw: &str) -> Result<ExplainPlan, ExplainError>;
}Expand description
方言 EXPLAIN 解析器 trait
Required Methods§
Sourcefn parse(&self, raw: &str) -> Result<ExplainPlan, ExplainError>
fn parse(&self, raw: &str) -> Result<ExplainPlan, ExplainError>
解析原始 EXPLAIN 输出为统一 ExplainPlan
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".