pub enum ToolCatalogError {
Control(ControlError),
Source {
source_id: String,
error: SourceError,
},
DuplicateTool {
name: String,
},
StaticNameChanged {
registered: String,
actual: String,
},
}Expand description
Failure to bind a complete, unambiguous invocation catalog.
Variants§
Control(ControlError)
The parent invocation control stopped catalog acquisition.
Source
A catalog could not be listed; its original error is retained.
Fields
§
error: SourceErrorOriginal listing failure.
DuplicateTool
A name occurred more than once in the assembled catalog.
StaticNameChanged
A static tool changed the name registered at construction.
Trait Implementations§
Source§impl Debug for ToolCatalogError
impl Debug for ToolCatalogError
Source§impl Display for ToolCatalogError
impl Display for ToolCatalogError
Source§impl Error for ToolCatalogError
impl Error for ToolCatalogError
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()
Auto Trait Implementations§
impl Freeze for ToolCatalogError
impl RefUnwindSafe for ToolCatalogError
impl Send for ToolCatalogError
impl Sync for ToolCatalogError
impl Unpin for ToolCatalogError
impl UnsafeUnpin for ToolCatalogError
impl UnwindSafe for ToolCatalogError
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