Skip to main content

expand_orpc

Function expand_orpc 

Source
pub fn expand_orpc(args: OrpcArgs, func: ItemFn) -> TokenStream
Expand description

Generate the full expansion for #[rorpc::route(method, path)] or shorthand macros.

Returns the original function unchanged plus all inventory registrations.