#[hosted_rpc]Expand description
HR1.1: trait-driven boilerplate eliminator for HostedRpcDep.
Apply to a user trait declaration to emit a <Trait>Stub worker-side
struct that implements the trait by routing each call through a
[test_r::core::HostedRpcChannel], plus a <Trait>Dispatch helper
trait blanket-implemented for every T: Trait so the owner-side
HostedRpcDep::dispatch impl can delegate to a generated
method-table dispatcher instead of writing the per-method match arms
by hand. See the rustdoc on the macro module for the precise wire
format and the restrictions (no generics, no associated types, no
async fns in the MVP).