pub enum GrantFeedEvent {
Baseline {
log: GrantLogId,
through: Revision,
decisions: Vec<(GrantId, bool)>,
},
Change {
log: GrantLogId,
revision: Revision,
change: GrantFeedChange,
evidence: Digest32,
},
Watermark {
log: GrantLogId,
through: Revision,
},
Ready {
log: GrantLogId,
through: Revision,
},
Lost,
Reset {
from: GrantLogId,
to: GrantLogId,
},
Invalid {
reason: &'static str,
},
}Expand description
One event of the consumer-opened Lys grant-change stream (Lys DIRECTORY-089 R1), as the reader that owns the stream decoded it.
Variants§
Baseline
An authenticated bounded baseline: whether each needed grant is
revoked, through through.
Fields
§
log: GrantLogIdThe log.
Change
One committed change.
Watermark
Trusted evidence that nothing visible to this consumer changed
through through.
Ready
The stream states the baseline and replay are installed through
through.
Lost
The stream’s transport was lost.
Reset
The log was replaced.
Invalid
An event this consumer cannot read: unknown version or invalid body.
Trait Implementations§
Source§impl Clone for GrantFeedEvent
impl Clone for GrantFeedEvent
Source§impl Debug for GrantFeedEvent
impl Debug for GrantFeedEvent
impl Eq for GrantFeedEvent
Source§impl PartialEq for GrantFeedEvent
impl PartialEq for GrantFeedEvent
impl StructuralPartialEq for GrantFeedEvent
Auto Trait Implementations§
impl Freeze for GrantFeedEvent
impl RefUnwindSafe for GrantFeedEvent
impl Send for GrantFeedEvent
impl Sync for GrantFeedEvent
impl Unpin for GrantFeedEvent
impl UnsafeUnpin for GrantFeedEvent
impl UnwindSafe for GrantFeedEvent
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.