pub enum DatabaseInfoError {
Query {
source: Error,
},
}Expand description
Errors specific to the database_info tool.
Variants§
Trait Implementations§
Source§impl Debug for DatabaseInfoError
impl Debug for DatabaseInfoError
Source§impl Display for DatabaseInfoError
impl Display for DatabaseInfoError
Source§impl Error for DatabaseInfoError
impl Error for DatabaseInfoError
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 DatabaseInfoError
Converts the database-info-specific error into MCP content by rendering the
display string as text.
impl IntoContents for DatabaseInfoError
Converts the database-info-specific error into MCP content by rendering the display string as text.
Auto Trait Implementations§
impl Freeze for DatabaseInfoError
impl !RefUnwindSafe for DatabaseInfoError
impl Send for DatabaseInfoError
impl Sync for DatabaseInfoError
impl Unpin for DatabaseInfoError
impl UnsafeUnpin for DatabaseInfoError
impl !UnwindSafe for DatabaseInfoError
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