pub enum PayloadKind {
AdmitPre,
AdmitPost,
TurnRequest,
TurnResponse,
ToolPre,
ToolPost,
RecoverDecided,
SettlePre,
PluginLifecycle,
Harness,
}Expand description
Which payload of the §3.2 catalog a hook dispatches.
Kept as a column of the [CATALOG] table so “mode / class / payload
agree” is checkable in one place (PLUGIN-SPEC §18: a hook id without
all six registrations is not part of the contract).
Variants§
AdmitPre
AdmitPost
TurnRequest
TurnResponse
ToolPre
ToolPost
RecoverDecided
SettlePre
PluginLifecycle
plugin/* lifecycle payloads (§3.2.9) — owned by the sidecar
machinery (P3); the tier-0 bus never dispatches them in P1.
Harness
harness/<name>/<point> payloads — declared by the owning harness
together with its registry entry (§3.6); the v1 registry is empty.
Trait Implementations§
Source§impl Clone for PayloadKind
impl Clone for PayloadKind
impl Copy for PayloadKind
Source§impl Debug for PayloadKind
impl Debug for PayloadKind
impl Eq for PayloadKind
Source§impl PartialEq for PayloadKind
impl PartialEq for PayloadKind
impl StructuralPartialEq for PayloadKind
Auto Trait Implementations§
impl Forget for PayloadKind
impl Freeze for PayloadKind
impl Move for PayloadKind
impl RefUnwindSafe for PayloadKind
impl Send for PayloadKind
impl Sync for PayloadKind
impl Unpin for PayloadKind
impl UnsafeUnpin for PayloadKind
impl UnwindSafe for PayloadKind
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