#[non_exhaustive]pub enum ChangeEffect {
Lifecycle {
event: LifecycleEvent,
retracted: bool,
source: LifecycleSource,
},
Superseded {
new_version: Box<VerifiedContext>,
},
KeyRevocation {
revocation: SourcedRevocation,
},
}Expand description
The verified effect of a change entry: what the consumer should re-evaluate. Policy (whether reliance moves) stays the consumer’s.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Lifecycle
A lifecycle event of the affected context, verified.
Fields
§
event: LifecycleEventThe verified event.
§
source: LifecycleSourceWhere the full list came from.
Superseded
The affected context was superseded by this verified version, whose receipt verified and matches the entry’s.
Fields
§
new_version: Box<VerifiedContext>The new version.
KeyRevocation
A verified revocation that speaks for the entry’s agent_id
(RFC-ACDP-0014 §7 producer scope). Apply it with the §7
compromise boundary and the earliest-compromised_since fold.
Fields
§
revocation: SourcedRevocationThe revocation, attributed to this registry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangeEffect
impl RefUnwindSafe for ChangeEffect
impl Send for ChangeEffect
impl Sync for ChangeEffect
impl Unpin for ChangeEffect
impl UnsafeUnpin for ChangeEffect
impl UnwindSafe for ChangeEffect
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