pub enum ErrorCounter {
AuthPreflightFailed,
ProviderHttp4xx,
ProviderHttp5xx,
ToolDeniedByPolicy,
ToolTimeout,
NetworkError,
}Expand description
Which error counter to bump.
Variants§
AuthPreflightFailed
Credential preflight rejected the route.
ProviderHttp4xx
Provider responded 4xx.
ProviderHttp5xx
Provider responded 5xx.
ToolDeniedByPolicy
A tool call was denied by policy.
ToolTimeout
A tool call timed out.
NetworkError
A request failed below HTTP.
Trait Implementations§
Source§impl Clone for ErrorCounter
impl Clone for ErrorCounter
Source§fn clone(&self) -> ErrorCounter
fn clone(&self) -> ErrorCounter
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 ErrorCounter
Source§impl Debug for ErrorCounter
impl Debug for ErrorCounter
impl Eq for ErrorCounter
Source§impl PartialEq for ErrorCounter
impl PartialEq for ErrorCounter
impl StructuralPartialEq for ErrorCounter
Auto Trait Implementations§
impl Freeze for ErrorCounter
impl RefUnwindSafe for ErrorCounter
impl Send for ErrorCounter
impl Sync for ErrorCounter
impl Unpin for ErrorCounter
impl UnsafeUnpin for ErrorCounter
impl UnwindSafe for ErrorCounter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.