pub enum AdvisorErrorCode {
MaxUsesExceeded,
PromptTooLong,
TooManyRequests,
Overloaded,
Unavailable,
ExecutionTimeExceeded,
ModelNotFound,
}Variants§
Trait Implementations§
Source§impl Clone for AdvisorErrorCode
impl Clone for AdvisorErrorCode
impl Copy for AdvisorErrorCode
Source§impl Debug for AdvisorErrorCode
impl Debug for AdvisorErrorCode
Source§impl DeclaredFields for AdvisorErrorCode
impl DeclaredFields for AdvisorErrorCode
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for AdvisorErrorCode
impl<'de> Deserialize<'de> for AdvisorErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdvisorErrorCode
Source§impl PartialEq for AdvisorErrorCode
impl PartialEq for AdvisorErrorCode
Source§impl Serialize for AdvisorErrorCode
impl Serialize for AdvisorErrorCode
impl StructuralPartialEq for AdvisorErrorCode
Auto Trait Implementations§
impl Freeze for AdvisorErrorCode
impl RefUnwindSafe for AdvisorErrorCode
impl Send for AdvisorErrorCode
impl Sync for AdvisorErrorCode
impl Unpin for AdvisorErrorCode
impl UnsafeUnpin for AdvisorErrorCode
impl UnwindSafe for AdvisorErrorCode
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