pub enum AuthorityState {
NotReady,
Ready {
log: GrantLog,
revision: u64,
generation: u64,
},
Unavailable {
cause: String,
},
Gap {
after: u64,
missing: u64,
},
Reset,
}Expand description
The ACCESS-005 grant authority’s state, as the membership gate reads it (ACCESS-006 R2).
Variants§
NotReady
No verified baseline yet.
Ready
Baseline, cursor and indexes agree on log at revision, in resume
generation generation.
Fields
The change feed or the provider is lost.
Gap
The change feed has an uncovered interval.
Fields
Reset
The grant log was reset and the new baseline is not yet verified.
Trait Implementations§
Source§impl Clone for AuthorityState
impl Clone for AuthorityState
Source§impl Debug for AuthorityState
impl Debug for AuthorityState
impl Eq for AuthorityState
Source§impl PartialEq for AuthorityState
impl PartialEq for AuthorityState
impl StructuralPartialEq for AuthorityState
Auto Trait Implementations§
impl Freeze for AuthorityState
impl RefUnwindSafe for AuthorityState
impl Send for AuthorityState
impl Sync for AuthorityState
impl Unpin for AuthorityState
impl UnsafeUnpin for AuthorityState
impl UnwindSafe for AuthorityState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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,
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.