pub enum SnapshotStatus {
NotReady,
Ready,
Stale,
Error,
}Expand description
The state of a FlagSnapshot.
Variants§
NotReady
The first load has not finished.
Ready
The flags are current.
Stale
A refresh failed; the last loaded flags are still served.
Error
The first load failed; evaluations return defaults.
Trait Implementations§
Source§impl Clone for SnapshotStatus
impl Clone for SnapshotStatus
impl Copy for SnapshotStatus
Source§impl Debug for SnapshotStatus
impl Debug for SnapshotStatus
impl Eq for SnapshotStatus
Source§impl Hash for SnapshotStatus
impl Hash for SnapshotStatus
Source§impl PartialEq for SnapshotStatus
impl PartialEq for SnapshotStatus
impl StructuralPartialEq for SnapshotStatus
Auto Trait Implementations§
impl Freeze for SnapshotStatus
impl RefUnwindSafe for SnapshotStatus
impl Send for SnapshotStatus
impl Sync for SnapshotStatus
impl Unpin for SnapshotStatus
impl UnsafeUnpin for SnapshotStatus
impl UnwindSafe for SnapshotStatus
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,
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.