pub enum EventKind {
AgentRegistered,
AgentRevoked,
TransferInitiated,
TransferPolicyDecision,
TransferScannerVerdict,
TransferAccepted,
TransferDelivered,
TransferRejected,
TransferExpired,
DeferredDecisionRequested,
SignedDecisionReceipt,
}Expand description
High-level classification of the action recorded.
These strings are part of the canonical bytes hashed into the audit chain. Never rename a variant — old events would stop verifying. To extend, add a new variant.
Variants§
AgentRegistered
AgentRevoked
TransferInitiated
TransferPolicyDecision
TransferScannerVerdict
TransferAccepted
TransferDelivered
TransferRejected
TransferExpired
DeferredDecisionRequested
Deferred decision (ADR-0049) — the policy engine returned
Pending and the control plane signed an
aex-decision-request:v2 for the sender.
SignedDecisionReceipt
Deferred decision (ADR-0049) — a signed
aex-decision-response:v2 was emitted with the final
accept/reject outcome. The payload SHOULD include the
decision_id, the outcome, and the optional reason; together
with the actor (the recipient agent) this gives a
non-repudiable receipt of the decision.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventKind
impl<'de> Deserialize<'de> for EventKind
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 Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnsafeUnpin for EventKind
impl UnwindSafe for EventKind
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