pub enum AgentSchemaError {
InvalidDelegationTargets,
InvalidDescription,
InvalidPreset,
InvalidPrompt,
InvalidListBounds,
DuplicatePermissionRule,
DuplicateFallbackModel,
InvalidModelBinding,
InvalidSuffixStart,
SelectionMismatch,
SelectedSuffixMismatch,
InvalidRootRunnable,
}Variants§
InvalidDelegationTargets
InvalidDescription
InvalidPreset
InvalidPrompt
InvalidListBounds
DuplicatePermissionRule
DuplicateFallbackModel
InvalidModelBinding
InvalidSuffixStart
SelectionMismatch
SelectedSuffixMismatch
InvalidRootRunnable
Trait Implementations§
Source§impl Clone for AgentSchemaError
impl Clone for AgentSchemaError
Source§fn clone(&self) -> AgentSchemaError
fn clone(&self) -> AgentSchemaError
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 AgentSchemaError
Source§impl Debug for AgentSchemaError
impl Debug for AgentSchemaError
Source§impl Display for AgentSchemaError
impl Display for AgentSchemaError
impl Eq for AgentSchemaError
Source§impl Error for AgentSchemaError
impl Error for AgentSchemaError
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 AgentSchemaError
impl PartialEq for AgentSchemaError
Source§fn eq(&self, other: &AgentSchemaError) -> bool
fn eq(&self, other: &AgentSchemaError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentSchemaError
Auto Trait Implementations§
impl Freeze for AgentSchemaError
impl RefUnwindSafe for AgentSchemaError
impl Send for AgentSchemaError
impl Sync for AgentSchemaError
impl Unpin for AgentSchemaError
impl UnsafeUnpin for AgentSchemaError
impl UnwindSafe for AgentSchemaError
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