Expand description
Generated plugin RPC dispatch table.
Maps every wire method to the dispatch-level capability the plugin IPC
server requires before routing it. The source of truth is the
[[method]] section of capabilities.toml; regenerate with
cargo run -p ados-capabilities-codegen.
required_cap is None for the ungated methods (the event surface and
ping) and for the methods gated inline by their handler from the
request payload; inline distinguishes the two so an open method cannot
be mistaken for an inline-gated one.
Structs§
- Dispatch
Method - One row of the dispatch table: a wire method and its dispatch-level gate.
Constants§
- DISPATCH_
METHODS - Every plugin RPC method, with the capability the dispatch loop requires before routing it.
Functions§
- is_
known_ method - True if
methodis a known dispatch method. - required_
cap_ for - Look up the dispatch-level required capability for a wire method.
Returns
Some(None)for a known ungated/inline method andNonefor an unknown method, so a caller can tell the two apart.