INNER CODE UNIT · Rust

impl_client_rpc_methods

google/tarpc · plugins/src/lib.rs:765

    fn impl_client_rpc_methods(&self) -> TokenStream2 {
        let &Self {
            client_ident,
            request_ident,
            response_ident,
            method_attrs,
            vis,
            method_idents,
            args,
            return_types,
            arg_pats,
            camel_case_idents,
            ..
        } = self;

        quote! {
            impl<Stub> #client_ident<Stub>
                where Stub: ::tarpc::client::stub::Stub<

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…