pub enum Unusable {
Saturated,
ProbeBlocked,
Bailed,
}Expand description
Why an account is held out of the usable tier.
Which reason can apply is keyed on the account’s billing kind: only
a window-billed account can saturate, so on a spend row an unusable
account can only be probe-blocked. A snapshot whose source is not
the account backend’s is ignored here, so a cache surviving a
forge.toml provider edit cannot saturate the row it landed on.
Variants§
Saturated
A plan window is at or over its cap and has not reset yet.
ProbeBlocked
The last probe failed before it could read usage: throttled, rejected, or expired credentials.
Bailed
The boot-time loading task ended in Bailed on an auth
failure.
Trait Implementations§
impl Copy for Unusable
Source§impl<'de> Deserialize<'de> for Unusable
impl<'de> Deserialize<'de> for Unusable
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 Unusable
impl StructuralPartialEq for Unusable
Auto Trait Implementations§
impl Freeze for Unusable
impl RefUnwindSafe for Unusable
impl Send for Unusable
impl Sync for Unusable
impl Unpin for Unusable
impl UnsafeUnpin for Unusable
impl UnwindSafe for Unusable
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>,
§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
Checks if this value is equivalent to the given key. Read more
§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.