pub enum ProviderEventValidationError {
Show 13 variants
Empty {
field: &'static str,
},
InvalidField {
field: &'static str,
max: usize,
},
TooManyTools {
count: usize,
max: usize,
},
InvalidInteractionResolutionOutcome {
outcome: ProviderInteractionOutcome,
},
ZeroContextWindowCapacity,
ContextWindowSegmentsOverflow,
ContextWindowSegmentsMismatch {
segment_sum: u64,
used_tokens: u64,
},
TooManyPlanSteps {
count: usize,
max: usize,
},
TooManyAvailableCommands {
count: usize,
max: usize,
},
TooManyConfigOptions {
count: usize,
max: usize,
},
TooManyConfigOptionChoices {
count: usize,
max: usize,
},
TooManyModes {
count: usize,
max: usize,
},
TooManyInteractionOptions {
count: usize,
max: usize,
},
}Variants§
Empty
InvalidField
TooManyTools
InvalidInteractionResolutionOutcome
Fields
§
outcome: ProviderInteractionOutcomeZeroContextWindowCapacity
ContextWindowSegmentsOverflow
ContextWindowSegmentsMismatch
TooManyPlanSteps
TooManyAvailableCommands
TooManyConfigOptions
TooManyConfigOptionChoices
TooManyModes
TooManyInteractionOptions
Trait Implementations§
Source§impl Clone for ProviderEventValidationError
impl Clone for ProviderEventValidationError
Source§impl Debug for ProviderEventValidationError
impl Debug for ProviderEventValidationError
impl Eq for ProviderEventValidationError
Source§impl Error for ProviderEventValidationError
impl Error for ProviderEventValidationError
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()
impl StructuralPartialEq for ProviderEventValidationError
Auto Trait Implementations§
impl Freeze for ProviderEventValidationError
impl RefUnwindSafe for ProviderEventValidationError
impl Send for ProviderEventValidationError
impl Sync for ProviderEventValidationError
impl Unpin for ProviderEventValidationError
impl UnsafeUnpin for ProviderEventValidationError
impl UnwindSafe for ProviderEventValidationError
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