                    "Service trait must have only methods",
                )
                .to_compile_error())
            }
        };

        let lit_method_name = syn::LitStr::new(&format!("{}", method.sig.ident), Span::call_site());
        let encoder_module_name = quote::format_ident!(