pub enum SchemaCompilationError {
SchemaOutOfBounds,
ExternalReference,
InvalidSchema,
}Expand description
Error compiling a tool schema.
Variants§
SchemaOutOfBounds
Schema exceeds encoded byte or nesting limits.
ExternalReference
Schema contains a non-local reference while retrieval is disabled.
InvalidSchema
Schema is not valid Draft 2020-12 syntax.
Trait Implementations§
Source§impl Clone for SchemaCompilationError
impl Clone for SchemaCompilationError
Source§fn clone(&self) -> SchemaCompilationError
fn clone(&self) -> SchemaCompilationError
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 moreimpl Copy for SchemaCompilationError
Source§impl Debug for SchemaCompilationError
impl Debug for SchemaCompilationError
Source§impl Display for SchemaCompilationError
impl Display for SchemaCompilationError
impl Eq for SchemaCompilationError
Source§impl Error for SchemaCompilationError
impl Error for SchemaCompilationError
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 From<SchemaCompilationError> for ToolRegistryError
impl From<SchemaCompilationError> for ToolRegistryError
Source§fn from(source: SchemaCompilationError) -> Self
fn from(source: SchemaCompilationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SchemaCompilationError
impl PartialEq for SchemaCompilationError
impl StructuralPartialEq for SchemaCompilationError
Auto Trait Implementations§
impl Freeze for SchemaCompilationError
impl RefUnwindSafe for SchemaCompilationError
impl Send for SchemaCompilationError
impl Sync for SchemaCompilationError
impl Unpin for SchemaCompilationError
impl UnsafeUnpin for SchemaCompilationError
impl UnwindSafe for SchemaCompilationError
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