pub enum CooldownReason {
AnthropicQuotaExhausted,
CodexQuotaExhausted,
ClientReport,
Other,
}Expand description
Why an account is cooling down: one of the known report_cooldown
callers, or other. A report carries only this kind, never the string
the reporter passed (which may come from another machine); the log line
written when the cooldown is reported keeps that string. An unknown kind
from a newer daemon reads as other.
Variants§
AnthropicQuotaExhausted
The Anthropic request path saw a quota-exhausted answer.
CodexQuotaExhausted
The Codex request path saw a quota-exhausted answer.
ClientReport
A broker client reported a limit without a reason.
Other
Any other reason.
Implementations§
Trait Implementations§
Source§impl Clone for CooldownReason
impl Clone for CooldownReason
impl Copy for CooldownReason
Source§impl Debug for CooldownReason
impl Debug for CooldownReason
Source§impl<'de> Deserialize<'de> for CooldownReason
impl<'de> Deserialize<'de> for CooldownReason
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
Source§impl Display for CooldownReason
impl Display for CooldownReason
impl Eq for CooldownReason
Source§impl From<String> for CooldownReason
impl From<String> for CooldownReason
Source§impl Hash for CooldownReason
impl Hash for CooldownReason
Source§impl PartialEq for CooldownReason
impl PartialEq for CooldownReason
Source§impl Serialize for CooldownReason
impl Serialize for CooldownReason
impl StructuralPartialEq for CooldownReason
Auto Trait Implementations§
impl Freeze for CooldownReason
impl RefUnwindSafe for CooldownReason
impl Send for CooldownReason
impl Sync for CooldownReason
impl Unpin for CooldownReason
impl UnsafeUnpin for CooldownReason
impl UnwindSafe for CooldownReason
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.