pub enum SessionChipState {
Normal,
AtCap,
Bailed,
Degraded,
RateLimited,
}Expand description
Visual category for a session chip. The renderer maps these to
foreground colors + (for Bailed alone) a leading ⚠ glyph.
Variants§
Normal
Account is Ready and within budget. DIM foreground.
AtCap
Account is Ready but at least one usage window (5h or weekly) is currently at the cap. Yellow foreground signals “still spawns but expect throttling until the window resets.” When every account that declares the model is capped the walk takes one anyway, so the chip shows this state.
Bailed
Account Bailed on an auth failure (rejected or expired
credentials). Red foreground + ⚠ prefix; the repair is an
env edit plus a restart.
Degraded
Account Bailed on a transient failure (rate limit, unreachable endpoint, malformed response). Warning yellow, no glyph - the same split the account rows render; the pollers heal it.
RateLimited
Every account serving the project is inside a rotation cooldown, so
a spawn is refused until the soonest reset. Unlike AtCap the walk
will not take this account now; the window that is spent and when
it lifts come from the account’s own reading.
Trait Implementations§
Source§impl Clone for SessionChipState
impl Clone for SessionChipState
impl Copy for SessionChipState
Source§impl Debug for SessionChipState
impl Debug for SessionChipState
Source§impl<'de> Deserialize<'de> for SessionChipState
impl<'de> Deserialize<'de> for SessionChipState
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>,
impl Eq for SessionChipState
Source§impl PartialEq for SessionChipState
impl PartialEq for SessionChipState
Source§impl Serialize for SessionChipState
impl Serialize for SessionChipState
impl StructuralPartialEq for SessionChipState
Auto Trait Implementations§
impl Freeze for SessionChipState
impl RefUnwindSafe for SessionChipState
impl Send for SessionChipState
impl Sync for SessionChipState
impl Unpin for SessionChipState
impl UnsafeUnpin for SessionChipState
impl UnwindSafe for SessionChipState
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§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
§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
key and return true if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more