pub enum LoadingState {
Loading,
Ready,
Bailed,
}Expand description
Boot-time loading state for an account. The boot wave and the cron
spawn path wait for every account in the map to resolve to Ready
or Bailed; the selection walk skips Loading and keeps Bailed
as its last resort. A bailed account’s usage is None by
construction (the loader clears it on the transition).
Variants§
Loading
First-pass probe in progress.
Ready
Probe returned 200; account is usable and may be assigned to sessions.
Bailed
The probe ended in an auth failure the account cannot recover
from in place. The user fixes the credential and lets the 60 s
usage poller flip the account back to Ready.
Trait Implementations§
Source§impl Clone for LoadingState
impl Clone for LoadingState
impl Copy for LoadingState
Source§impl Debug for LoadingState
impl Debug for LoadingState
Source§impl<'de> Deserialize<'de> for LoadingState
impl<'de> Deserialize<'de> for LoadingState
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 LoadingState
Source§impl PartialEq for LoadingState
impl PartialEq for LoadingState
Source§impl Serialize for LoadingState
impl Serialize for LoadingState
impl StructuralPartialEq for LoadingState
Auto Trait Implementations§
impl Freeze for LoadingState
impl RefUnwindSafe for LoadingState
impl Send for LoadingState
impl Sync for LoadingState
impl Unpin for LoadingState
impl UnsafeUnpin for LoadingState
impl UnwindSafe for LoadingState
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.