pub enum AssistantErrorKind {
AuthenticationFailed,
OauthOrgNotAllowed,
BillingError,
RateLimit,
Overloaded,
InvalidRequest,
ModelNotFound,
ServerError,
UnknownError,
MaxOutputTokens,
Unknown(String),
}Expand description
API error category attached to assistant wrapper frames.
Variants§
AuthenticationFailed
OauthOrgNotAllowed
BillingError
RateLimit
Overloaded
InvalidRequest
ModelNotFound
ServerError
UnknownError
MaxOutputTokens
Unknown(String)
Implementations§
Trait Implementations§
Source§impl Clone for AssistantErrorKind
impl Clone for AssistantErrorKind
Source§fn clone(&self) -> AssistantErrorKind
fn clone(&self) -> AssistantErrorKind
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 moreSource§impl Debug for AssistantErrorKind
impl Debug for AssistantErrorKind
Source§impl<'de> Deserialize<'de> for AssistantErrorKind
impl<'de> Deserialize<'de> for AssistantErrorKind
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AssistantErrorKind
impl Display for AssistantErrorKind
impl Eq for AssistantErrorKind
Source§impl From<&str> for AssistantErrorKind
impl From<&str> for AssistantErrorKind
Source§impl Hash for AssistantErrorKind
impl Hash for AssistantErrorKind
Source§impl PartialEq for AssistantErrorKind
impl PartialEq for AssistantErrorKind
Source§impl Serialize for AssistantErrorKind
impl Serialize for AssistantErrorKind
impl StructuralPartialEq for AssistantErrorKind
Auto Trait Implementations§
impl Freeze for AssistantErrorKind
impl RefUnwindSafe for AssistantErrorKind
impl Send for AssistantErrorKind
impl Sync for AssistantErrorKind
impl Unpin for AssistantErrorKind
impl UnsafeUnpin for AssistantErrorKind
impl UnwindSafe for AssistantErrorKind
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