pub enum ExplainQueryError {
Query {
source: Error,
},
}Expand description
Errors specific to the explain_query tool.
Variants§
Query
The EXPLAIN QUERY PLAN statement failed. This usually means the underlying SQL is invalid or references objects that do not exist.
Trait Implementations§
Source§impl Debug for ExplainQueryError
impl Debug for ExplainQueryError
Source§impl Display for ExplainQueryError
impl Display for ExplainQueryError
Source§impl Error for ExplainQueryError
impl Error for ExplainQueryError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl IntoContents for ExplainQueryError
Converts the explain-query-specific error into MCP content by rendering the
display string as text.
impl IntoContents for ExplainQueryError
Converts the explain-query-specific error into MCP content by rendering the display string as text.
Auto Trait Implementations§
impl Freeze for ExplainQueryError
impl !RefUnwindSafe for ExplainQueryError
impl Send for ExplainQueryError
impl Sync for ExplainQueryError
impl Unpin for ExplainQueryError
impl UnsafeUnpin for ExplainQueryError
impl !UnwindSafe for ExplainQueryError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more