pub enum ExplainError {
Unparseable {
reason: String,
},
UnsupportedDialect,
}Expand description
EXPLAIN parse error
Variants§
Unparseable
Unparseable (not EXPLAIN output / format not recognized)
UnsupportedDialect
Dialect not supported (no corresponding parser)
Implementations§
Source§impl ExplainError
impl ExplainError
pub fn is_unparseable(&self) -> bool
pub fn is_unsupported_dialect(&self) -> bool
Trait Implementations§
Source§impl Clone for ExplainError
impl Clone for ExplainError
Source§fn clone(&self) -> ExplainError
fn clone(&self) -> ExplainError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExplainError
impl Debug for ExplainError
Source§impl Display for ExplainError
impl Display for ExplainError
impl Eq for ExplainError
Source§impl Error for ExplainError
impl Error for ExplainError
1.30.0 · 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 PartialEq for ExplainError
impl PartialEq for ExplainError
impl StructuralPartialEq for ExplainError
Auto Trait Implementations§
impl Freeze for ExplainError
impl RefUnwindSafe for ExplainError
impl Send for ExplainError
impl Sync for ExplainError
impl Unpin for ExplainError
impl UnsafeUnpin for ExplainError
impl UnwindSafe for ExplainError
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