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