Skip to main content

Module plugin

Module plugin 

Source

Structs§

BlockReason
The reason a PreHook decided to block execution. Allocation: two Strings. Complexity: O(1) to construct.
FilteredPostHook
A PostHook wrapper that runs the inner hook only when matcher passes. On mismatch, returns Ok(()) without invoking the inner hook. Allocation: none per call when matcher fails. Complexity: O(matcher check).
FilteredPreHook
A PreHook wrapper that runs the inner hook only when matcher passes. On mismatch, returns HookAction::Noop without invoking the inner hook. Allocation: none per call when matcher fails. Complexity: O(matcher check).
HookContext
HookIssue
HookMatcher
Pure filter that gates a hook on phase, tool name, and/or cwd prefix. phases empty = all phases match. tool_name / cwd_prefix None = no constraint. Allocation: O(phases count + name/prefix length) at construction.
HookPatch
HookReport
PluginContractVersion

Enums§

HookAction
HookAttachment
HookIssueClass
HookPhase

Traits§

PostHook
PreHook

Type Aliases§

HookFuture