pub enum ModelFailureCategory {
RateLimited,
QuotaExceeded,
Transient,
CandidateUnavailable,
Permanent,
}Variants§
Trait Implementations§
Source§impl Clone for ModelFailureCategory
impl Clone for ModelFailureCategory
impl Copy for ModelFailureCategory
Source§impl Debug for ModelFailureCategory
impl Debug for ModelFailureCategory
impl Eq for ModelFailureCategory
Source§impl PartialEq for ModelFailureCategory
impl PartialEq for ModelFailureCategory
impl StructuralPartialEq for ModelFailureCategory
Auto Trait Implementations§
impl Freeze for ModelFailureCategory
impl RefUnwindSafe for ModelFailureCategory
impl Send for ModelFailureCategory
impl Sync for ModelFailureCategory
impl Unpin for ModelFailureCategory
impl UnsafeUnpin for ModelFailureCategory
impl UnwindSafe for ModelFailureCategory
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.