Skip to main content

methods

Attribute Macro methods 

Source
#[methods]
Expand description

Publish every method of an inherent impl block as an RPC endpoint.

See repe::structs::RepeMethods for the shape; the struct must carry the #[repe(methods)] marker beside its #[derive(RepeStruct)] so the derived router dispatches here.